Skip to content

Commit 547b6dd

Browse files
authored
Merge pull request #252 from openhamclock/beta-default-no
The default for beta install should be "no".
2 parents ebc6db6 + 100d6a0 commit 547b6dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ESPHamClock/OTAupdate.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ bool askOTAupdate(char *new_ver, bool show_pending, bool def_yes)
315315
drawStringInBox ("No", no_b, !active_yes, RA8875_WHITE);
316316
drawStringInBox ("Yes", yes_b, active_yes, RA8875_WHITE);
317317
} else {
318-
drawStringInBox ("Ok", no_b, false, RA8875_WHITE);
318+
drawStringInBox ("Ok", no_b, true, RA8875_WHITE);
319319
}
320320

321321
// Check if beta version exists
@@ -404,7 +404,7 @@ bool askOTAupdate(char *new_ver, bool show_pending, bool def_yes)
404404
if (!show_pending && beta_exists && inBox (ui.tap, beta_b)) {
405405
// Switch to beta upgrade flow!
406406
show_pending = true;
407-
active_yes = true;
407+
active_yes = false;
408408
is_beta_flow = true;
409409
snprintf (new_ver, 20, "%.19s", beta_ver);
410410

0 commit comments

Comments
 (0)