1
0
forked from me/IronOS

Fixing up settings

Split advanced settings
Fix menu button handling
This commit is contained in:
Ben V. Brown
2017-10-18 19:43:55 +11:00
parent aec760e4e7
commit 046f2df6a1
6 changed files with 128 additions and 78 deletions

View File

@@ -7,7 +7,7 @@
#include "Translation.h"
#ifdef LANG_EN
const char* SettingsLongNames[15] = {
const char* SettingsLongNames[16] = {
/*These are all the help text for all the settings.*/
/*No requirements on spacing or length*/
"Power source. Sets cutoff voltage. <DC 10V> <S 3.3V per cell>", //Power Source
@@ -16,7 +16,7 @@ const char* SettingsLongNames[15] = {
"Shutdown Timeout <Minutes>", //Shutdown Time
"Motion Sensitivity <0.Off 1.least sensitive 9.most sensitive>", //Motion Sensitivity
"Temperature Unit <C=Celsius F=Fahrenheit>", //Temp Unit
"Display detailed information in a smaller font.", //Detailed Information
"Display detailed information in a smaller font on the idle screen.", //Detailed Information
"Display Orientation <A. Automatic L. Left Handed R. Right Handed>", //Orientation
"Enable front key enters boost mode 450C mode when soldering", //Boost enable
"Temperature when in \"boost\" mode", //Boost Temp
@@ -25,11 +25,12 @@ const char* SettingsLongNames[15] = {
"Calibrate tip offset.", //Calibrate Tip
"Reset all settings", //Reset Settings
"VIN Calibration. Buttons adjust, long press to exit", //VIN Cal
"Display detailed information while soldering",//ADV SLD
};
const char* SettingsCalibrationWarning = "Please ensure the tip is at room temperature before continuing!";
const char* UVLOWarningString = "LOW VOLT"; //Fixed width 8 chars
const char* SleepingSimpleString = "ZZzz"; // Must be <= 4 chars
const char* SleepingSimpleString = "Zzzz"; // Must be <= 4 chars
const char* SleepingAdvancedString = "Sleeping..."; // <=17 chars
const char* WarningSimpleString = "HOT!"; //Must be <= 4 chars
const char* WarningAdvancedString = "WARNING! TIP HOT!";
@@ -41,14 +42,14 @@ const char SettingLeftChar = 'L';
const char SettingAutoChar = 'A';
#endif
const char* SettingsShortNames[15] = { /**/
const char* SettingsShortNames[16] = { /**/
"PWRSC ", // Power Source (DC or batt)
"STMP ", // Sleep Temperature
"STME ", // Sleep Timeout
"SHTME ", // Shutdown Temperature
"MSENSE ", // Motion sensitivity level
"TMPUNT ", //Temp in F and C
"ADVDSP ", // Advanced display mode enable
"ADVIDL ", // Advanced idle display mode enable
"DSPROT ", // Display rotation mode
"BOOST ", // Boost enabled
"BTMP ", // Boost temperature
@@ -56,4 +57,6 @@ const char* SettingsShortNames[15] = { /**/
"CLBLNK ", // Cooldown blink
"TMP CAL?", // Temperature calibration enter menu
"RESET? ", // Settings reset command
"CAL VIN?", };
"CAL VIN?",
"ADVSLD ", //advanced soldering screens
};