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:
Peter Barker 2023-03-02 08:08:09 +11:00 committed by Peter Barker
parent f353241375
commit 74d316f606

View File

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