1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-19 14:25:16 +03:00
There was a typo in the SNR symbol name
This commit is contained in:
OptimusTi 2021-03-16 12:40:44 -04:00
parent 77d5093a10
commit fb4a130726
2 changed files with 3 additions and 3 deletions

View file

@ -243,7 +243,7 @@
#define SYM_2RSS 0xEA // RSSI 2
#define SYM_DB 0xEB // dB
#define SYM_DBM 0xEC // dBm
#define SYM_SRN 0xEE // SNR
#define SYM_SNR 0xEE // SNR
#define SYM_MW 0xED // mW
#else

View file

@ -1717,12 +1717,12 @@ static bool osdDrawSingleElement(uint8_t item)
const char* hidesnr = " ";
int16_t osdSNR_Alarm = rxLinkStatistics.uplinkSNR;
if (osdSNR_Alarm <= osdConfig()->snr_alarm) {
buff[0] = SYM_SRN;
buff[0] = SYM_SNR;
tfp_sprintf(buff + 1, "%3d%c", rxLinkStatistics.uplinkSNR, SYM_DB);
}
else if (osdSNR_Alarm > osdConfig()->snr_alarm) {
if (cmsInMenu) {
buff[0] = SYM_SRN;
buff[0] = SYM_SNR;
tfp_sprintf(buff + 1, "%s%c", showsnr, SYM_DB);
} else {
buff[0] = SYM_BLANK;