diff --git a/gazebo/SBUS.h b/gazebo/SBUS.h index cc32a2c..c687239 100644 --- a/gazebo/SBUS.h +++ b/gazebo/SBUS.h @@ -14,7 +14,7 @@ public: SBUS(HardwareSerial& bus, const bool inv = true) {}; SBUS(HardwareSerial& bus, const int8_t rxpin, const int8_t txpin, const bool inv = true) {}; void begin() {}; - bool read() { return true; }; + bool read() { return joystickInitialized; }; SBUSData data() { SBUSData data; joystickGet(data.ch);