mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 09:06:11 +00:00
Correctly set output parameters of simulated SBUS::read, minor name fix
This commit is contained in:
@@ -9,7 +9,9 @@ class SBUS {
|
||||
public:
|
||||
SBUS(HardwareSerial& bus) {};
|
||||
void begin() {};
|
||||
bool read(int16_t* channels, bool* failsafe, bool* lostFrame) { // NOTE: on the hardware channels is uint16_t
|
||||
bool read(int16_t *channels, bool *failsafe, bool *lostFrame) { // NOTE: on the hardware channels is uint16_t
|
||||
*failsafe = false;
|
||||
*lostFrame = false;
|
||||
return joystickGet();
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user