mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 09:06:11 +00:00
Rename RC_CHANNEL_AUX to RC_CHANNEL_ARMED
This commit is contained in:
@@ -15,7 +15,7 @@ const int channelMaxOverride[] = {27090, 27090, 27090, 27090, 0, 1};
|
||||
#define RC_CHANNEL_PITCH 1
|
||||
#define RC_CHANNEL_THROTTLE 2
|
||||
#define RC_CHANNEL_YAW 3
|
||||
#define RC_CHANNEL_AUX 4
|
||||
#define RC_CHANNEL_ARMED 4
|
||||
#define RC_CHANNEL_MODE 5
|
||||
|
||||
SDL_Joystick *joystick;
|
||||
|
@@ -69,7 +69,7 @@ public:
|
||||
// read rc
|
||||
readRC();
|
||||
controls[RC_CHANNEL_MODE] = 1; // 0 acro, 1 stab
|
||||
controls[RC_CHANNEL_AUX] = 1; // armed
|
||||
controls[RC_CHANNEL_ARMED] = 1; // armed
|
||||
|
||||
estimate();
|
||||
|
||||
|
Reference in New Issue
Block a user