Browse Source

HAL_ChibiOS: raised default SPI priority

this was causing transfer errors on the primary IMU of a PH2.1 when
fast sampling was enabled
mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
a2eec97325
  1. 4
      libraries/AP_HAL_ChibiOS/Scheduler.h

4
libraries/AP_HAL_ChibiOS/Scheduler.h

@ -34,7 +34,9 @@ @@ -34,7 +34,9 @@
#define APM_STARTUP_PRIORITY 10
#ifndef APM_SPI_PRIORITY
#define APM_SPI_PRIORITY 179
// SPI priority needs to be above main priority to ensure fast sampling of IMUs can keep up
// with the data rate
#define APM_SPI_PRIORITY 181
#endif
#ifndef APM_UAVCAN_PRIORITY

Loading…
Cancel
Save