Cleanup (#877)
* Clean translation * Create enum for off/slow/med/fast * Update configuration.h * Default loop on * Create Medium speed symbol slot * True/False are no longer defined, move to off string + slightly smoother lerp animations
This commit is contained in:
@@ -30,7 +30,7 @@ typedef struct {
|
||||
uint8_t OrientationMode : 2; // Selects between Auto,Right and left handed layouts
|
||||
uint8_t sensitivity : 4; // Sensitivity of accelerometer (5 bits)
|
||||
uint8_t animationLoop : 1; // Animation loop switch
|
||||
uint16_t animationSpeed; // Animation speed (in miliseconds)
|
||||
uint8_t animationSpeed : 2; // Animation speed (in miliseconds)
|
||||
uint8_t autoStartMode : 2; // Should the unit automatically jump straight
|
||||
// into soldering mode when power is applied
|
||||
uint8_t ShutdownTime; // Time until unit shuts down if left alone
|
||||
@@ -63,7 +63,13 @@ typedef struct {
|
||||
// MUST BE LAST
|
||||
|
||||
} systemSettingsType;
|
||||
|
||||
typedef enum {
|
||||
OFF = 0, // Off (disabled)
|
||||
SLOW = 1, //
|
||||
MEDIUM = 2, //
|
||||
FAST = 3, //
|
||||
MAX_VALUE = 4 //
|
||||
} settingOffSpeed_t;
|
||||
extern volatile systemSettingsType systemSettings;
|
||||
|
||||
void saveSettings();
|
||||
|
||||
Reference in New Issue
Block a user