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

+2 -3
View File
@@ -575,10 +575,9 @@ static void MAIN_Key_DIGITS(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld) {
}
static void MAIN_Key_EXIT(bool bKeyPressed, bool bKeyHeld) {
if (gWasFKeyPressed) {
gRequestDisplayScreen = DISPLAY_OOKSENDER;
// F + EXIT (OOK sender) is handled in APP ProcessKey, the F state is cleared before this runs
if (gRequestDisplayScreen == DISPLAY_OOKSENDER)
return;
}
if (!bKeyHeld && bKeyPressed) { // exit key pressed
gBeepToPlay = BEEP_1KHZ_60MS_OPTIONAL;