~toykeeper/flashlight-firmware/fsm

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/anduril/lockout-mode.h

  • Committer: Selene ToyKeeper
  • Date: 2023-04-17 00:21:29 UTC
  • mto: (483.1.175 anduril2)
  • mto: This revision was merged to the branch mainline in revision 491.
  • Revision ID: bzr@toykeeper.net-20230417002129-32mnxi61ro64o29u
reduced ROM by ~600 bytes by moving all eeprom config values to a "cfg" struct
(this also made some parts of the code cleaner)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#ifndef DEFAULT_AUTOLOCK_TIME
28
28
#define DEFAULT_AUTOLOCK_TIME 0 // autolock time in minutes, 0 = disabled
29
29
#endif
30
 
uint8_t autolock_time = DEFAULT_AUTOLOCK_TIME;
31
30
uint8_t autolock_config_state(Event event, uint16_t arg);
32
31
#endif
33
32