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:
No files matched your search
+2
-3
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user