switch-controller: add basic functionality to main

This commit is contained in:
Vasily Davydov
2022-10-17 09:27:44 +03:00
parent 0bf20552cf
commit 6155ac7089
7 changed files with 32 additions and 35 deletions

View File

@@ -15,7 +15,6 @@ SwitchController::SwitchController (DigitalIoPin *button, Timer *timer,
h = handler;
b_state = false;
b_mode = button_mode;
t->resetCounter ();
}
SwitchController::~SwitchController ()