mirror of
https://github.com/okalachev/flix.git
synced 2026-06-28 14:06:32 +00:00
Make parameter names case-insensitive
+ minor fix
This commit is contained in:
+2
-2
@@ -13,10 +13,10 @@ float channelZero[16]; // calibration zero values
|
||||
float channelMax[16]; // calibration max values
|
||||
|
||||
float controlRoll, controlPitch, controlYaw, controlThrottle; // pilot's inputs, range [-1, 1]
|
||||
float controlMode = NAN; //
|
||||
float controlMode = NAN;
|
||||
float controlTime; // time of the last controls update (0 when no RC)
|
||||
|
||||
// Channels mapping (using float to store in parameters):
|
||||
// Channels mapping (nan means not assigned):
|
||||
float rollChannel = NAN, pitchChannel = NAN, throttleChannel = NAN, yawChannel = NAN, modeChannel = NAN;
|
||||
|
||||
void setupRC() {
|
||||
|
||||
Reference in New Issue
Block a user