1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Cosmetics and fixed tests

This commit is contained in:
phobos- 2022-08-02 10:54:23 +02:00
parent 7a23793c16
commit 392ebdcdf4
5 changed files with 101 additions and 91 deletions

View file

@ -159,10 +159,11 @@ void confirmCurrentTelemetryPayload(const bool telemetryConfirmValue)
// A 0th packet is always requred so the reciver can
// differentiate a new send from a resend, if this is
// the first packet acked, send another, else IDLE
if (currentPackage == 1)
if (currentPackage == 1) {
nextSenderState = ELRS_WAIT_UNTIL_NEXT_CONFIRM;
else
} else {
nextSenderState = ELRS_SENDER_IDLE;
}
}
currentPackage++;