Make rc channel numbers and calibration params use int instead of float

As parameter subsystems supports int now, and int is much more natural here.
This commit is contained in:
Oleg Kalachev
2026-02-02 20:36:22 +03:00
parent 67430c7aac
commit 3e49d41986
3 changed files with 19 additions and 20 deletions
+3 -3
View File
@@ -6,9 +6,9 @@
#include <Preferences.h>
#include "util.h"
extern float channelZero[16];
extern float channelMax[16];
extern float rollChannel, pitchChannel, throttleChannel, yawChannel, armedChannel, modeChannel;
extern int channelZero[16];
extern int channelMax[16];
extern int rollChannel, pitchChannel, throttleChannel, yawChannel, armedChannel, modeChannel;
extern int wifiMode, udpLocalPort, udpRemotePort;
extern float rcLossTimeout, descendTime;