Finish the OOK remote sender, fix F+EXIT

OOK sender for 433 MHz remotes: PT2262, EV1527, rc-switch protocols 1-7,
Intertechno self-learning and raw Manchester. The carrier is keyed with the
PA enable line through a new fast BK4819 GPIO write (~25 us instead of
~300 us), and every edge is scheduled on an absolute SysTick clock.

F+EXIT never opened the OOK sender: APP_ProcessKey cancels the F state for
EXIT before the screen handler runs. Open it there instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 01:13:24 +01:00
co-authored by Claude Opus 5.5
parent 7832c1968e
commit 04297ed019
7 changed files with 439 additions and 143 deletions

No files matched your search

+5
View File
@@ -1761,6 +1761,11 @@ static void ProcessKey(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld) {
#else
if (gWasFKeyPressed && (Key == KEY_PTT || Key == KEY_EXIT || Key == KEY_SIDE1 || Key == KEY_SIDE2)) {
#endif
// F + EXIT on the main screen opens the OOK sender (handled here because the
// F state is cleared before the screen key handler runs)
if (Key == KEY_EXIT && bKeyPressed && !bKeyHeld && gScreenToDisplay == DISPLAY_MAIN)
gRequestDisplayScreen = DISPLAY_OOKSENDER;
// cancel the F-key
gWasFKeyPressed = false;
gUpdateStatus = true;