atctwo / watch-II

Firmware for my custom smart-ish-watch, mark II
MIT License
1 stars 0 forks source link

pass stateMeta struct to app functions #9

Open atctwo opened 4 years ago

atctwo commented 4 years ago

The main loop should pass the stateMeta of the current app to the function for the current app. You could refer to the current state using state rather than watch2::states[watch2::state].