~toykeeper/flashlight-firmware/trunk

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/anduril/load-save-config.h

  • Committer: Selene ToyKeeper
  • Date: 2023-08-24 23:08:01 UTC
  • mto: (188.22.175 anduril2)
  • mto: This revision was merged to the branch mainline in revision 250.
  • Revision ID: bzr@toykeeper.net-20230824230801-ntwen6fxhnzcoxhd
added channel mode per strobe mode, and made FSM channel mode more flexible,
and fixed issue in tactical mode where strobes wouldn't stop on button release

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
 
99
99
    #ifdef USE_STROBE_STATE
100
100
        .strobe_type = DEFAULT_STROBE,
 
101
        #if NUM_CHANNEL_MODES > 1
 
102
            // channel mode saved per strobe-group mode
 
103
            #ifdef DEFAULT_STROBE_CHANNELS
 
104
                .strobe_channels = { DEFAULT_STROBE_CHANNELS },
 
105
            #endif
 
106
        #endif
101
107
    #endif
102
108
    #if defined(USE_PARTY_STROBE_MODE) || defined(USE_TACTICAL_STROBE_MODE)
103
109
        // party / tactical strobe timing