rotary encoder used in menu did not keep light on

This commit is contained in:
mihlit@mihlit.cz
2012-05-07 11:30:07 +00:00
parent 71685e582c
commit 4724ccc780
+1 -1
View File
@@ -245,7 +245,7 @@ bool check(uint8_t event, uint8_t curr, const MenuFuncP *menuTab, uint8_t menuTa
#define scrollUD 0
#endif
if(scrollLR || scrollUD || p1valdiff) g_LightOffCounter = g_eeGeneral.lightAutoOff*500; // on keypress turn the light on 5*100
if(scrollRE || scrollLR || scrollUD || p1valdiff) g_LightOffCounter = g_eeGeneral.lightAutoOff*500; // on keypress turn the light on 5*100
if (menuTab) {
uint8_t attr = 0;