HAL_ChibiOS: raised default SPI priority

this was causing transfer errors on the primary IMU of a PH2.1 when
fast sampling was enabled
This commit is contained in:
Andrew Tridgell 2018-04-02 17:39:10 +10:00
parent c17338473d
commit a2eec97325

View File

@ -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