Use pointers to avoid some string copying
Size: 60664 -> 60464
This commit is contained in:
@@ -773,8 +773,7 @@ void UI_DisplayMain(void)
|
||||
|
||||
center_line = CENTER_LINE_DTMF_DEC;
|
||||
|
||||
strcpy(String, "DTMF ");
|
||||
strcat(String, gDTMF_RX_live + idx);
|
||||
sprintf(String, "DTMF %s", gDTMF_RX_live + idx);
|
||||
UI_PrintStringSmall(String, 2, 0, 3);
|
||||
}
|
||||
#else
|
||||
@@ -789,8 +788,7 @@ void UI_DisplayMain(void)
|
||||
|
||||
center_line = CENTER_LINE_DTMF_DEC;
|
||||
|
||||
strcpy(String, "DTMF ");
|
||||
strcat(String, gDTMF_RX + idx);
|
||||
sprintf(String, "DTMF %s", gDTMF_RX_live + idx);
|
||||
UI_PrintStringSmall(String, 2, 0, 3);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user