Browse Source

AP_Notify: change class name from SITL::SITL to SITL::SIM

gps-1.3.1
bugobliterator 4 years ago committed by Andrew Tridgell
parent
commit
a3c301f689
  1. 2
      libraries/AP_Notify/SITL_SFML_LED.cpp

2
libraries/AP_Notify/SITL_SFML_LED.cpp

@ -119,7 +119,7 @@ void SITL_SFML_LED::update_serial_LEDs() @@ -119,7 +119,7 @@ void SITL_SFML_LED::update_serial_LEDs()
static sf::RenderWindow *w;
static sf::RectangleShape *leds[16][MAX_LEDS];
SITL::SITL *sitl = AP::sitl();
SITL::SIM *sitl = AP::sitl();
if (sitl == nullptr || sitl->led.send_counter == 0) {
// no SerialLEDs set
return;

Loading…
Cancel
Save