update user_acmode to work

This commit is contained in:
reaw55 2023-12-26 23:00:03 +07:00
parent 424312952c
commit ca27f6de89
2 changed files with 2 additions and 1 deletions

View File

@ -191,6 +191,7 @@ void user_init()
{
elcd.print("page main");
elcd_send_stop_bit();
user_acmode = 0;
light_toggle.attachPop(light_toggle_pop_callback, &light_toggle);
row1_lv1.attachPop(row1_lv1_pop_callback, &row1_lv1);
row1_lv2.attachPop(row1_lv2_pop_callback, &row1_lv2);

View File

@ -61,7 +61,7 @@
#define ANALOG_REPORTING_INTERVAL 500
// User Defined Variables
uint8_t user_acmode = 0;
uint8_t user_acmode;
// User Defined Functions
#define elcd ESPMega_EXTLCD