mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 09:06:11 +00:00
Fix joystick work in simulation
Logic was broken as joystickGet never got called
This commit is contained in:
@@ -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 joystickInitialized; };
|
||||
bool read() { return joystickInit(); };
|
||||
SBUSData data() {
|
||||
SBUSData data;
|
||||
joystickGet(data.ch);
|
||||
|
Reference in New Issue
Block a user