fix (telemetry): DSM Telemetry fixes for ESC sensor, Binary GPS, RX Battery Sensor Capacity meter (#3615)

* #3368 DSM Telemetry Fixes

1. Expand constants for telemetry frame SIDs and optimize flow of processing of sensors (less CPU work)
2. Add Binary GPS
3. Add Dual Battery Sensor monitor
4. Fix bad math on some ESC sensors
5. Fix problem where ESC RPM sensor was changed from "Erpm" to "EscR".. fix it back to "Erpm" for compatibility with 2.8.x

* #3368 DSM Telemetry Fixes

1. Split long if-then-else code into more granular function.
2. fix ESC VBEC (BEC voltage)
3. Improve testing function
This commit is contained in:
Frankie Arzu
2023-05-27 17:55:26 +10:00
committed by GitHub
parent f1773da256
commit be1a20f595
2 changed files with 423 additions and 314 deletions
+2 -1
View File
@@ -246,7 +246,8 @@
#define STR_SENSOR_GATE_TIME "GteT"
#define STR_SENSOR_ESC_VOLTAGE "EscV"
#define STR_SENSOR_ESC_CURRENT "EscA"
#define STR_SENSOR_ESC_RPM "EscR"
#define STR_SENSOR_ESC_RPM "EscR" //FrSky name
#define STR_SENSOR_ESC_RPM2 "Erpm" //Spektrum name
#define STR_SENSOR_ESC_CONSUMPTION "EscC"
#define STR_SENSOR_ESC_TEMP "EscT"
#define STR_SENSOR_SD1_CHANNEL "Chan"