0

Problem with Powercontroller - REG_BUTTONSTATE doesn't reset

Hi,

the REG_BUTTONMODE   is set to BUTTONMODE_SHORT_LONG_PRESS.

so if i press the Button short the REG_BUTTONSTATE  is 1 and if i press long then 2.

if i pressed the button short (or long) an later changed the rotary and the button is not pressed anymore the register REG_BUTTONSTATE is still set to the last pressed value.

how can i reset this ?

12 comments

Please sign in to leave a comment.