~toykeeper/flashlight-firmware/trunk

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/fsm-misc.c

  • Committer: Selene Scriven
  • Date: 2017-08-25 08:32:43 UTC
  • mto: (188.9.1 emisar-d18)
  • mto: This revision was merged to the branch mainline in revision 206.
  • Revision ID: ubuntu@toykeeper.net-20170825083243-tcroifpqdq5ihqkm
Made 4bar and 8bar battcheck styles work.
Added LVP handling for other modes, including battcheck.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef FSM_MISC_C
21
21
#define FSM_MISC_C
22
22
 
23
 
#ifdef USE_BLINK_NUM
 
23
#if defined(USE_BLINK_NUM) || defined(USE_BLINK_DIGIT)
24
24
uint8_t blink_digit(uint8_t num) {
25
25
    //StatePtr old_state = current_state;
26
26
 
38
38
    }
39
39
    return nice_delay_ms(600);
40
40
}
 
41
#endif
41
42
 
 
43
#ifdef USE_BLINK_NUM
42
44
uint8_t blink_num(uint8_t num) {
43
45
    //StatePtr old_state = current_state;
44
46
    #if 0