mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Notify: disable ProfiLED SPI by default
this requires a SPI profiled line to function. Unless that exists in the board's hwdef this driver can do nothing. So require those drivers to turn the device on with a define, saving bytes in many places
This commit is contained in:
parent
f353241375
commit
74d316f606
@ -23,7 +23,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef AP_NOTIFY_PROFILED_SPI_ENABLED
|
||||
#define AP_NOTIFY_PROFILED_SPI_ENABLED 1
|
||||
#define AP_NOTIFY_PROFILED_SPI_ENABLED 0 // requires hwdef to have SPI line
|
||||
#endif
|
||||
|
||||
#ifndef AP_NOTIFY_SERIALLED_ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user