diff --git a/firmware/main.c b/firmware/main.c index 0ef0a42..26525eb 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -292,7 +292,7 @@ void do_mode4(void) { ; void do_mode5(void) { - static bool sample; + static bool discharge; static timer_t mytimer; uint16_t led1; uint16_t led2; @@ -300,7 +300,7 @@ void do_mode5(void) { if (ModeChanged) { //init after mode change ModeChanged = false; - ADMUX = (1<