state-handler: replace EVENT_HANDL struct with enum

This is done due to passing the values to the key event of the state
This commit is contained in:
Vasily Davydov
2022-10-05 11:10:29 +03:00
parent f77fd5040d
commit b231d6e9db
2 changed files with 21 additions and 17 deletions

View File

@@ -7,8 +7,6 @@
#include "Counter.h"
#include "Counter.h"
void Counter::inc() {
if(init >= up_lim){
init = 0;