mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 01:05:21 +03:00
added blink to LQ when telemetry is lost
Also added one space to clear SNR for when -30dB is received.
This commit is contained in:
parent
2d81adaebc
commit
09e2c5aa8f
1 changed files with 4 additions and 4 deletions
|
@ -1654,13 +1654,13 @@ static bool osdDrawSingleElement(uint8_t item)
|
|||
case OSD_CRSF_LQ:
|
||||
buff[0] = SYM_BLANK;
|
||||
tfp_sprintf(buff + 1, "%d:%3d%s", rxLinkStatistics.rfMode, rxLinkStatistics.uplinkLQ, "%");
|
||||
if (!failsafeIsReceivingRxData()){
|
||||
displayWrite(osdDisplayPort, elemPosX, elemPosY, " ");
|
||||
}
|
||||
if (!failsafeIsReceivingRxData()){
|
||||
TEXT_ATTRIBUTES_ADD_BLINK(elemAttr);
|
||||
}
|
||||
break;
|
||||
|
||||
case OSD_CRSF_SNR_DB: {
|
||||
const char* hidesnr = " ";
|
||||
const char* hidesnr = " ";
|
||||
int16_t osdSNR_Alarm = rxLinkStatistics.uplinkSNR;
|
||||
if (osdSNR_Alarm <= osdConfig()->snr_alarm) {
|
||||
buff[0] = SYM_SRN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue