Add user-adjustable "time between Power Pulses" and "Power Pulse duration"

This commit is contained in:
Devydd
2021-03-16 01:15:05 +01:00
parent 7c4c3da37c
commit c13991cd25
8 changed files with 95 additions and 15 deletions

View File

@@ -10,7 +10,7 @@
#ifndef SETTINGS_H_
#define SETTINGS_H_
#include <stdint.h>
#define SETTINGSVERSION (0x28)
#define SETTINGSVERSION (0x29)
/*Change this if you change the struct below to prevent people getting \
out of sync*/
@@ -43,6 +43,8 @@ typedef struct {
uint8_t descriptionScrollSpeed : 1; // Description scroll speed
uint8_t lockingMode : 2; // Store the locking mode
uint8_t KeepAwakePulse; // Keep Awake pulse power in 0.1 watts (10 = 1Watt)
uint8_t KeepAwakePulseWait; // Time between Keep Awake pulses in 2500 ms = 2.5 s increments
uint8_t KeepAwakePulseDuration; // Duration of the Keep Awake pusle in 250 ms increments
uint16_t voltageDiv; // Voltage divisor factor
uint16_t BoostTemp; // Boost mode set point for the iron

View File

@@ -12,8 +12,8 @@ extern const uint8_t USER_FONT_12[];
extern const uint8_t USER_FONT_6x8[];
extern const bool HasFahrenheit;
extern const char *SettingsShortNames[31][2];
extern const char *SettingsDescriptions[31];
extern const char *SettingsShortNames[33][2];
extern const char *SettingsDescriptions[33];
extern const char *SettingsMenuEntries[5];
extern const char *SettingsCalibrationDone;