Support MAVLink usage in simulation

This commit is contained in:
Oleg Kalachev
2024-01-31 12:10:18 +03:00
parent 4850b95029
commit f718af7f0e
9 changed files with 78 additions and 11 deletions

View File

@@ -10,7 +10,6 @@ public:
SBUS(HardwareSerial& bus) {};
void begin() {};
bool read(int16_t* channels, bool* failsafe, bool* lostFrame) { // NOTE: on the hardware channels is uint16_t
joystickGet();
return true;
return joystickGet();
};
};