mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 09:06:11 +00:00
Make simulator read RC through real drone code
This commit is contained in:
@@ -54,6 +54,4 @@ void joystickGet() {
|
||||
}
|
||||
channels[RC_CHANNEL_MODE] = SDL_JoystickGetButton(joystick, 0) ? 1 : 0;
|
||||
controls[RC_CHANNEL_MODE] = channels[RC_CHANNEL_MODE];
|
||||
|
||||
normalizeRC();
|
||||
}
|
||||
|
Reference in New Issue
Block a user