Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

corrected a few missing screenmutexes

  • Loading branch information...
commit 020f7d2ebede844c903be551cdc1391a0ff45555 1 parent aab7d8e
@CaitSith2 CaitSith2 authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 firmware/config.c
View
9 firmware/config.c
@@ -266,11 +266,15 @@ void set_region(void) {
uint8_t mode = SET_REGION;
display_menu();
+
+ screenmutex++;
glcdSetAddress(0, 6);
glcdPutStr("Press MENU to exit ", NORMAL);
// put a small arrow next to 'set 12h/24h'
drawArrow(0, 35, MENU_INDENT -1);
+ screenmutex--;
+
timeoutcounter = INACTIVITYTIMEOUT;
while (1) {
@@ -374,9 +378,10 @@ void set_alarm(void) {
uint8_t mode = SET_ALARM;
display_menu();
-
+ screenmutex++;
// put a small arrow next to 'set alarm'
drawArrow(0, 11, MENU_INDENT -1);
+ screenmutex--;
timeoutcounter = INACTIVITYTIMEOUT;
while (1) {
@@ -472,8 +477,10 @@ void set_time(void) {
display_menu();
+ screenmutex++;
// put a small arrow next to 'set time'
drawArrow(0, 19, MENU_INDENT -1);
+ screenmutex--;
timeoutcounter = INACTIVITYTIMEOUT;
Please sign in to comment.
Something went wrong with that request. Please try again.