Make parameter names case-insensitive

+ minor fix
This commit is contained in:
Oleg Kalachev
2026-01-22 23:11:47 +03:00
parent 30326a5662
commit 0abb18c616
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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() {