Browse Source

SITL: added LED state

master
Andrew Tridgell 5 years ago committed by Randy Mackay
parent
commit
b31fe356af
  1. 9
      libraries/SITL/SITL.h

9
libraries/SITL/SITL.h

@ -302,6 +302,15 @@ public: @@ -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

Loading…
Cancel
Save