Add rx num handling to CRSF (#7881)

This commit is contained in:
3djc
2020-08-28 17:01:13 +02:00
committed by GitHub
parent 476e1e9d8d
commit 3dfb27f220
13 changed files with 125 additions and 20 deletions
+4
View File
@@ -106,6 +106,10 @@ void processCrossfireTelemetryFrame()
return;
}
if (telemetryState == TELEMETRY_INIT && moduleState[EXTERNAL_MODULE].counter != CRSF_FRAME_MODELID_SENT) {
moduleState[EXTERNAL_MODULE].counter = CRSF_FRAME_MODELID;
}
uint8_t id = telemetryRxBuffer[2];
int32_t value;
switch(id) {