~toykeeper/flashlight-firmware/trunk

« back to all changes in this revision

Viewing changes to Flintrock/bistro-hd/configs/config_biscotti-HD.h

  • Committer: Selene Scriven
  • Date: 2017-11-18 19:58:08 UTC
  • Revision ID: bzr@toykeeper.net-20171118195808-1v4if4nvkexp2143
Updated bistro-HD to 1.7.1.
Flintrock suggested skipping the intermediate versions, due to known issues in them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
//USE redundancy to make noinit off memory safer (if used at all) redundancy 4 requires 38 bytes.
45
45
// This is only used if OTC and OTSM are not used and you have a clicking switch.
46
46
#define USE_SAFE_PRESSES // enable
 
47
 
47
48
// redundancy 4 requires 38 bytes.
48
49
// redundancy level. Default is 4, but 3 could save some space, 2 has lower than 1 in 255 chance of failure:
49
50
                     // 3 has maybe 1 in 2,800 odds (based observations that 1's twice as probable as 0's)
60
61
//#define USE_OTSM  // USE OTSM.  Pin must be defined in the layout too.
61
62
 
62
63
//#define OTSM_USES_OTC // use OTC cap for extra power on OTSM (sets it output high to charge up)
63
 
#define OTSM_powersave // Also works without OTSM to reduce moon-mode drain. 
 
64
#define POWERSAVE // Also works without OTSM to reduce moon-mode drain. 
64
65
             // Squeeze out a bit more off-time by saving power during
65
66
             // shutoff detection (so at all times).  Implements ms resolution (could be less) idle sleeps in place of delay.
66
67
             // Seems to add at 0.5s of sleep at 3.1V 30uF cap, starting with only 0.75 that matters.  
93
94
//#define REFERENCE_DIVIDER_READS_TO_VCC // default is 1.1V, but this is needed for divider reading with OTSM on the voltage pin.
94
95
                                         // This should normally be used with an LDO.  For 1S (non-LDO or 5.0VLDO) just avoid the problem with READ_VOLTAGE_FROM_VCC.
95
96
 
96
 
/*** Enable battery indicator mode?   */
97
 
#define USE_BATTCHECK
98
 
// Choose a battery indicator style
 
97
/***** Choose a battery indicator style (if enabled in modegroups)*******/
99
98
#define BATTCHECK_4bars  // up to 4 blinks
100
99
//#define BATTCHECK_8bars  // up to 8 blinks
101
100
//#define BATTCHECK_VpT  // Volts + tenths
102
101
 
103
 
/******theremal protection:  ***/
 
102
/******thermal protection:  ***/
104
103
//#define TEMPERATURE_MON          // You can set starting temperature in the "maxtemp" setting in config options first boot options.
105
104
//#define USE_TEMP_CAL    // include a TEMP_CAL mode in the menu.
106
105
 
108
107
  #define USE_TURBO_TIMEOUT
109
108
  #define TURBO_TIMEOUT 45   // timeout in seconds.
110
109
#else
111
 
  #define TEMPERATURE_MON
112
 
  #define USE_TEMP_CAL    // include a TEMP_CAL mode in the menu.
 
110
  #define TEMPERATURE_MON          // You can set starting temperature in the "maxtemp" setting in config options first boot options.
 
111
    #define USE_TEMP_CAL    // include a TEMP_CAL mode in the menu.  
 
112
    #define TEMP_STEP_DOWN //Requires TEMPERATURE_MON, Use step-down and tap-up instead of oscillate
 
113
      #define MINIMUM_TURBO_TIME  10 //Turbo will never run less than this long. Requires TEMP_STEP_DOWN
113
114
#endif
114
115
 
115
116
/*******Mode features***********/
125
126
 
126
127
// Options for first bootup/default:
127
128
 
128
 
//#define USE_FIRSTBOOT // Disabling this doesn't always save much
 
129
//#define USE_FIRSTBOOT //Enables reset menu option, only costs a couple of bytes.
129
130
 
130
131
#define INIT_MODEGROUP      0       // which mode group will be default, mode groups below start at zero, select the mode group you want and subtract one from the number to get it by defualt here
131
132
#define INIT_ENABLE_MOON    0       // Should we add moon to the set of modes?