mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-02-08 07:42:18 +08:00
AP_SerialLED: add defines for some AP_Notify LED libraries
allow ProfiLEDs (serial and SPI) and NeoPixel to be compiled out
This commit is contained in:
committed by
Andrew Tridgell
parent
d9aa0c9cf0
commit
9fd4298377
@@ -17,6 +17,9 @@
|
||||
*/
|
||||
|
||||
#include "AP_SerialLED.h"
|
||||
|
||||
#if AP_SERIALLED_ENABLED
|
||||
|
||||
#include <AP_Math/AP_Math.h>
|
||||
#include "SRV_Channel/SRV_Channel.h"
|
||||
|
||||
@@ -65,3 +68,5 @@ void AP_SerialLED::send(uint8_t chan)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif // AP_SERIALLED_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user