4598 Commits

Author SHA1 Message Date
Daniel Agar
8dfd55fc9e delete unused IOCTL SENSORIOCGPOLLRATE 2018-11-06 07:43:43 +08:00
Daniel Agar
9cd3e3d1cf distance sensors delete unused IOCTL SENSORIOCSQUEUEDEPTH 2018-11-06 07:43:43 +08:00
Daniel Agar
ac04db6084 delete unnecessary drv_px4flow.h 2018-11-06 07:43:43 +08:00
Daniel Agar
d76155107c delete unused IOCTL MAGIOCGRANGE 2018-11-06 07:43:43 +08:00
Daniel Agar
0ea18b2b73 delete unused IOCTL MAGIOCGSAMPLERATE 2018-11-06 07:43:43 +08:00
Daniel Agar
60a40ec131 delete unused IOCTL MAGIOCSSAMPLERATE 2018-11-06 07:43:43 +08:00
Daniel Agar
04972d196a delete unused IOCTL MAGIOCTYPE 2018-11-06 07:43:43 +08:00
Daniel Agar
114b471675 delete unnecessary drv_iridiumsbd.h 2018-11-06 07:43:43 +08:00
Daniel Agar
1f2cb8740a delete unnecessary drv_irlock.h 2018-11-06 07:43:43 +08:00
Daniel Agar
76a6cd10b1 delete unnecessary drv_gps.h 2018-11-06 07:43:43 +08:00
Daniel Agar
571364c617 delete baro_report (alias for sensor_baro_s) 2018-11-06 07:43:43 +08:00
Daniel Agar
85c2b6307c delete unused IOCTL AIRSPEEDIOCGSCALE 2018-11-06 07:43:43 +08:00
Daniel Agar
acc24da0c2 delete gyro_report (alias for sensor_gyro_s) 2018-11-06 07:43:43 +08:00
Daniel Agar
42f9aa6e43 delete drv_gyro.h GYROx_DEVICE_PATH 2018-11-06 07:43:43 +08:00
Daniel Agar
aaf1667b09 delete unused GYRO_SAMPLERATE_DEFAULT 2018-11-06 07:43:43 +08:00
Daniel Agar
3daf37433e delete unused IOCTL GYROIOCSSAMPLERATE 2018-11-06 07:43:43 +08:00
Daniel Agar
60c14fe8f1 delete unused IOCTL GYROIOCGSAMPLERATE 2018-11-06 07:43:43 +08:00
Daniel Agar
0d67050089 delete unused IOCTL GYROIOCTYPE 2018-11-06 07:43:43 +08:00
Daniel Agar
ef65e5267a delete unused IOCTL GYROIOCGRANGE 2018-11-06 07:43:43 +08:00
Daniel Agar
068dcb37df delete unused IOCTL GYROIOCSRANGE 2018-11-06 07:43:43 +08:00
Daniel Agar
aaf0b6fb5c delete unused IOCTL GYROIOCGSCALE 2018-11-06 07:43:43 +08:00
Daniel Agar
f21f1a1357 delete drv_accel.h ACCELx_DEVICE_PATH 2018-11-06 07:43:43 +08:00
Daniel Agar
2a83a40491 delete accel_report (alias for sensor_accel_s) 2018-11-06 07:43:43 +08:00
Daniel Agar
22c9fb7290 delete unused IOCTL ACCELIOCGEXTERNAL 2018-11-06 07:43:43 +08:00
Daniel Agar
e759e0e1a5 delete unused IOCTLs ACCELIOCSSAMPLERATE and ACCEL_SAMPLERATE_DEFAULT 2018-11-06 07:43:43 +08:00
Daniel Agar
eddbd3fc4b delete unused IOCTL ACCELIOCTYPE 2018-11-06 07:43:43 +08:00
Daniel Agar
77abcab46f delete unused IOCTL ACCELIOCGRANGE 2018-11-06 07:43:43 +08:00
Daniel Agar
5d3d120705 delete unused IOCTL ACCELIOCSRANGE 2018-11-06 07:43:43 +08:00
Daniel Agar
b0c3e12139 delete unused IOCTL ACCELIOCGSCALE 2018-11-06 07:43:43 +08:00
Daniel Agar
8ad59160c9 delete unused IOCTL ACCELIOCGSAMPLERATE 2018-11-06 07:43:43 +08:00
Daniel Agar
f59f0d4b2d delete unused IOCTL SENSOR_POLLRATE_EXTERNAL 2018-11-06 07:43:43 +08:00
Jake Dahl
387d6ffbc1 This work should be complete. Waiting for Alex to validate config settings 2018-11-01 10:49:26 -04:00
Jake Dahl
27c6432757 added unseal() and seal() around write_flash() for enabling/disabling cell undervoltage, we found out today this wasn't being written because that address is in protected flash 2018-11-01 10:49:26 -04:00
Jake Dahl
5dbb34c841 added other bus options to the documentation 2018-11-01 10:49:26 -04:00
Jake Dahl
bd807f4db2 took care of minor clang-tidy complaints 2018-11-01 10:49:26 -04:00
Jake Dahl
69b59b9d63 commented out something causing trouble with CI, it is in an unused function but I'd like to keep the comment there as a reference for future development effort 2018-11-01 10:49:26 -04:00
Jake Dahl
6ba78858e3 changed variable name 2018-11-01 10:49:26 -04:00
Jake Dahl
7c3f1d448a trimmed includes, house keeping 2018-11-01 10:49:26 -04:00
Jake Dahl
2e732b9c0b removed unneeded file, some more clean up 2018-11-01 10:49:26 -04:00
Jake Dahl
f8b9217750 batt_smbus rework 2018-11-01 10:49:26 -04:00
hdiethelm
33422700de lis3mdl: fix handling when multiple sensors are available (#10753)
* lis3mdl: Report calibration successful when starting with -C option
* lis3mdl: Use PX4_OK, PX4_ERROR for return value / orb_unadvertise
* Fixes #10740
2018-11-01 10:44:41 -04:00
Jake Dahl
118e5d9607 set feedforward to zero, was set inappropriately 2018-11-01 00:05:10 +01:00
Jake Dahl
b01849ce56 fixed a problem where the heater was getting stuck on. This was due to the next on time being calculated as a negative time, thus causing it to not get rescheduled in the work_queue. Also removed some includes in the header file 2018-11-01 00:05:10 +01:00
Beat Küng
52fc56a61f gps: explicitly set SPI bus speed to 1MHz
Required on RPi, the default seems to be too high.
2018-10-30 20:36:25 -04:00
Mara Bos
10c20b38ad Fix many format strings.
Fixes these invalid format strings:
- A `%d` for a pointer (replaced it by `%p`)
- A 0x%08x (and a 0x%0x8!) for a pointer (replaced by %p)
- 2 cases of `%d` for a `ssize_t` (replaced it by `%zi`)
- 1 case of a %u for an `int` (replaced by %i)
- 3 cases of %d for a `long` (replaced by %ld)
- 19 cases of `%d`, `%i`, `%u` or `%lu` for a `size_t` (replaced it by `%zu`)
- An unused formatting argument (removed it)
- A missing `%d` (added it)
- A missing `%s` (added it)
- 2 cases of `%llu` for a `uint64_t` (replaced it by `"%" PRIu64`)
- 6 cases of giving a string directly as format string (replaced it by `("%s", string)`)
- 2 cases of %*-s, which should probably have been %-*s.
  (Looks like NuttX accepts (the invalid) %*-s, but other platforms don't.)
- A %04x for a `uint32_t` (replaced by "%04" PRIx32)
2018-10-27 12:44:51 +02:00
David Sidrane
3e9e55150d px4nucleoF767ZI-v1: use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane
0658d4e2e5 px4fmu-v4pro:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane
161288ef71 px4fmu-v4:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane
0cd2d8f4aa px4fmu-v2:use board_hardfault_init API 2018-10-25 07:52:37 +02:00
David Sidrane
9b4b831b22 px4-same70xplained-v1:Does not use hardfault_log 2018-10-25 07:52:37 +02:00