tinkerspy / Automaton

Reactive State Machine Framework for Arduino

Home Page:https://github.com/tinkerspy/Automaton/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Atm_button BTN_PASS4 = -2

kaminet opened this issue · comments

Hello!

I was analysing Atm_button to learn from it (I'm not a real programmer).
There is declaration in header file:
enum { BTN_PASS4 = -2, BTN_PASS3 = -3, BTN_PASS2 = -2, BTN_PASS1 = -1, BTN_RELEASE = 0, BTN_PRESS1 = 1, BTN_PRESS2 = 2, BTN_PRESS3 = 3, BTN_PRESS4 = 4 };
I think there should be BTN_PASS4 = -4 ?