n0xa / m5stick-nemo

M5 Stick C firmware for high-tech pranks
Other
764 stars 157 forks source link

Refactor menus #38

Closed n0xa closed 9 months ago

n0xa commented 9 months ago

get rid of all the *_drawmenu junk and boil most of these down to one "drawmenu" function. Renamed timeset_drawmenu to number_drawmenu because it was being used for things other than time setting, like the dimmer. Wifi scanning results and QR code menu are still one-offs with special use cases. Also fixed the battery info screen so it no longer constantly updates and flickers.