Fix the spectrum labels, bandscope build, OOK on F+7, save flash
- Spectrum: GUI_DisplaySmallest() now draws with gFontSmall (7 px per character) for the status bar; the spectrum layout needs the 3x5 font (4 px), so it gets its own renderer again. Its labels were overlapping. - make BANDSCOPE=1: spectrum instead of the FM radio. Both do not fit in 60 KB together (FM radio is 4.9 KB). Debug log off and -finline-limit=1 in that edition; it fits with a few bytes to spare. - OOK sender on F+7 / long 7 (the VOX key is free, VOX is not built); F+EXIT is back to only cancelling F. - POCSAG deviation tuning keys behind POCSAG_DEVIATION_TUNING (default 0). - Smaller code: shared end of SMS/POCSAG transmissions, non-inlined fast SPI wait, compact OOK field tables, sprintf message header, shorter OOK strings. - Makefile: EXTRA_CFLAGS for passing defines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
No files matched your search
+2
-2
@@ -42,7 +42,7 @@ void OOKSENDER_Display(void) {
|
||||
sprintf(String, "%c %s", gOOKSenderProtocol == i ? '>' : ' ', OOKPROTONAMES[i]);
|
||||
UI_PrintStringSmallNormal(String, 0, 0, 1 + i);
|
||||
}
|
||||
UI_PrintStringSmallNormal("MENU select", 0, 0, 7);
|
||||
UI_PrintStringSmallNormal("MENU = OK", 0, 0, 7);
|
||||
break;
|
||||
|
||||
case OOKSENDER_DATA_INPUT:
|
||||
@@ -61,7 +61,7 @@ void OOKSENDER_Display(void) {
|
||||
sprintf(String, "%c%-6s %s", gOOKSenderField == f ? '>' : ' ', label, value);
|
||||
UI_PrintStringSmallNormal(String, 0, 0, line++);
|
||||
}
|
||||
UI_PrintStringSmallNormal(gOOKSenderState == OOKSENDER_SENDING ? "SENDING..." : "PTT/MENU send",
|
||||
UI_PrintStringSmallNormal(gOOKSenderState == OOKSENDER_SENDING ? "Sending" : "PTT send",
|
||||
0, 0, 7);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user