SITL: added LED state

This commit is contained in:
Andrew Tridgell 2019-10-30 21:11:52 +11:00 committed by Randy Mackay
parent 149c03b6f5
commit b31fe356af

View File

@ -302,6 +302,15 @@ public:
Buzzer buzzer_sim;
ToneAlarm tonealarm_sim;
SIM_Precland precland_sim;
struct {
// LED state, for serial LED emulation
struct {
uint8_t rgb[3];
} rgb[16][32];
uint8_t num_leds[16];
uint32_t send_counter;
} led;
};
} // namespace SITL