mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-19 22:35:19 +03:00
Typo Fix
There was a typo in the SNR symbol name
This commit is contained in:
parent
77d5093a10
commit
fb4a130726
2 changed files with 3 additions and 3 deletions
|
@ -243,7 +243,7 @@
|
||||||
#define SYM_2RSS 0xEA // RSSI 2
|
#define SYM_2RSS 0xEA // RSSI 2
|
||||||
#define SYM_DB 0xEB // dB
|
#define SYM_DB 0xEB // dB
|
||||||
#define SYM_DBM 0xEC // dBm
|
#define SYM_DBM 0xEC // dBm
|
||||||
#define SYM_SRN 0xEE // SNR
|
#define SYM_SNR 0xEE // SNR
|
||||||
#define SYM_MW 0xED // mW
|
#define SYM_MW 0xED // mW
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -1717,12 +1717,12 @@ static bool osdDrawSingleElement(uint8_t item)
|
||||||
const char* hidesnr = " ";
|
const char* hidesnr = " ";
|
||||||
int16_t osdSNR_Alarm = rxLinkStatistics.uplinkSNR;
|
int16_t osdSNR_Alarm = rxLinkStatistics.uplinkSNR;
|
||||||
if (osdSNR_Alarm <= osdConfig()->snr_alarm) {
|
if (osdSNR_Alarm <= osdConfig()->snr_alarm) {
|
||||||
buff[0] = SYM_SRN;
|
buff[0] = SYM_SNR;
|
||||||
tfp_sprintf(buff + 1, "%3d%c", rxLinkStatistics.uplinkSNR, SYM_DB);
|
tfp_sprintf(buff + 1, "%3d%c", rxLinkStatistics.uplinkSNR, SYM_DB);
|
||||||
}
|
}
|
||||||
else if (osdSNR_Alarm > osdConfig()->snr_alarm) {
|
else if (osdSNR_Alarm > osdConfig()->snr_alarm) {
|
||||||
if (cmsInMenu) {
|
if (cmsInMenu) {
|
||||||
buff[0] = SYM_SRN;
|
buff[0] = SYM_SNR;
|
||||||
tfp_sprintf(buff + 1, "%s%c", showsnr, SYM_DB);
|
tfp_sprintf(buff + 1, "%s%c", showsnr, SYM_DB);
|
||||||
} else {
|
} else {
|
||||||
buff[0] = SYM_BLANK;
|
buff[0] = SYM_BLANK;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue