working_modes.h 540 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #define STATE_PAUSE_TRACKING_NOTPAUSED 0
  3. #define STATE_PAUSE_TRACKING_JUSTPAUSED 1
  4. #define STATE_PAUSE_TRACKING_PAUSED 2
  5. #define STATE_PAUSE_TRACKING_JUSTUNPAUSED 3
  6. #define STATE_POINT_SAVE_READY 0
  7. #define STATE_POINT_SAVE_NOT_DONE 1
  8. #define STATE_POINT_SAVE_DONE 2
  9. extern __flash const struct menu_struct default_menu;
  10. struct menu_params_s {
  11. unsigned char point_save_state;
  12. };
  13. extern struct menu_params_s mp;
  14. void key_process(void);
  15. void enter_settings(void);
  16. void enter_main_menu(void);
  17. void tracking_pause(void);