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:
parent
7a23793c16
commit
392ebdcdf4
5 changed files with 101 additions and 91 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue