mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-24 16:55:29 +03:00
fixed some line indentations
This commit is contained in:
parent
f50f27d315
commit
b22bb5ea9b
1 changed files with 15 additions and 15 deletions
|
@ -1635,21 +1635,21 @@ static bool osdDrawSingleElement(uint8_t item)
|
|||
return true;
|
||||
}
|
||||
|
||||
case OSD_RX_RSSI_DBM:
|
||||
if (rxLinkStatistics.activeAnt == 0) {
|
||||
buff[0] = SYM_RSSI;
|
||||
tfp_sprintf(buff + 1, "%4d%c", rxLinkStatistics.uplinkRSSI, SYM_DBM);
|
||||
if (!failsafeIsReceivingRxData()){
|
||||
TEXT_ATTRIBUTES_ADD_BLINK(elemAttr);
|
||||
}
|
||||
} else {
|
||||
buff[0] = SYM_2RSS;
|
||||
tfp_sprintf(buff + 1, "%4d%c", rxLinkStatistics.uplinkRSSI, SYM_DBM);
|
||||
if (!failsafeIsReceivingRxData()){
|
||||
TEXT_ATTRIBUTES_ADD_BLINK(elemAttr);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case OSD_RX_RSSI_DBM:
|
||||
if (rxLinkStatistics.activeAnt == 0) {
|
||||
buff[0] = SYM_RSSI;
|
||||
tfp_sprintf(buff + 1, "%4d%c", rxLinkStatistics.uplinkRSSI, SYM_DBM);
|
||||
if (!failsafeIsReceivingRxData()){
|
||||
TEXT_ATTRIBUTES_ADD_BLINK(elemAttr);
|
||||
}
|
||||
} else {
|
||||
buff[0] = SYM_2RSS;
|
||||
tfp_sprintf(buff + 1, "%4d%c", rxLinkStatistics.uplinkRSSI, SYM_DBM);
|
||||
if (!failsafeIsReceivingRxData()){
|
||||
TEXT_ATTRIBUTES_ADD_BLINK(elemAttr);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case OSD_RX_LQ:
|
||||
buff[0] = SYM_BLANK;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue