Save 36 bytes
This commit is contained in:
2
Makefile
2
Makefile
@@ -206,7 +206,7 @@ ifeq ($(ENABLE_FEAT_F4HWN),1)
|
|||||||
VERSION_STRING_1 ?= v0.22
|
VERSION_STRING_1 ?= v0.22
|
||||||
|
|
||||||
AUTHOR_STRING_2 ?= F4HWN
|
AUTHOR_STRING_2 ?= F4HWN
|
||||||
VERSION_STRING_2 ?= v1.8
|
VERSION_STRING_2 ?= v1.9
|
||||||
|
|
||||||
AUTHOR_STRING ?= $(AUTHOR_STRING_1)+$(AUTHOR_STRING_2)
|
AUTHOR_STRING ?= $(AUTHOR_STRING_1)+$(AUTHOR_STRING_2)
|
||||||
VERSION_STRING ?= $(VERSION_STRING_2)
|
VERSION_STRING ?= $(VERSION_STRING_2)
|
||||||
|
10
ui/main.c
10
ui/main.c
@@ -363,18 +363,16 @@ void DisplayRSSIBar(const bool now)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_FEAT_F4HWN
|
#ifdef ENABLE_FEAT_F4HWN
|
||||||
|
sprintf(str, "% 4d", -rssi_dBm);
|
||||||
|
UI_PrintStringSmallNormal(str, LCD_WIDTH + 8, 0, line - 1);
|
||||||
|
|
||||||
if(overS9Bars == 0) {
|
if(overS9Bars == 0) {
|
||||||
sprintf(str, "% 4d", -rssi_dBm);
|
|
||||||
UI_PrintStringSmallNormal(str, LCD_WIDTH + 8, 0, line - 1);
|
|
||||||
sprintf(str, "S%d", s_level);
|
sprintf(str, "S%d", s_level);
|
||||||
UI_PrintStringSmallBold(str, LCD_WIDTH + 38, 0, line - 1);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sprintf(str, "% 4d", -rssi_dBm);
|
|
||||||
UI_PrintStringSmallNormal(str, LCD_WIDTH + 8, 0, line - 1);
|
|
||||||
sprintf(str, "+%02d", overS9dBm);
|
sprintf(str, "+%02d", overS9dBm);
|
||||||
UI_PrintStringSmallBold(str, LCD_WIDTH + 38, 0, line - 1);
|
|
||||||
}
|
}
|
||||||
|
UI_PrintStringSmallBold(str, LCD_WIDTH + 38, 0, line - 1);
|
||||||
#else
|
#else
|
||||||
if(overS9Bars == 0) {
|
if(overS9Bars == 0) {
|
||||||
sprintf(str, "% 4d S%d", -rssi_dBm, s_level);
|
sprintf(str, "% 4d S%d", -rssi_dBm, s_level);
|
||||||
|
Reference in New Issue
Block a user