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

View File

@@ -43,7 +43,7 @@ void doCommand(String str, bool echo);
void handleInput();
void normalizeRC();
void calibrateRC();
void calibrateRCChannel(float *channel, uint16_t zero[16], uint16_t max[16], const char *str);
void calibrateRCChannel(int *channel, uint16_t zero[16], uint16_t max[16], const char *str);
void printRCCalibration();
void printLogHeader();
void printLogData();