Inactivity timer reset on Keys and Trims press
This commit is contained in:
@@ -150,6 +150,7 @@ void Key::input(bool val, EnumKeys enuk)
|
||||
//fallthrough
|
||||
case KSTATE_START:
|
||||
putEvent(EVT_KEY_FIRST(enuk));
|
||||
inacCounter = 0;
|
||||
m_dblcnt++;
|
||||
m_state = KSTATE_RPTDELAY;
|
||||
m_cnt = 0;
|
||||
|
||||
@@ -400,6 +400,7 @@ enum EnumKeys {
|
||||
#define PROT_MAX 3
|
||||
|
||||
extern uint8_t heartbeat;
|
||||
extern uint32_t inacCounter;
|
||||
|
||||
#if defined(PXX)
|
||||
extern uint8_t pxxFlag;
|
||||
|
||||
Reference in New Issue
Block a user