@@ -23,12 +23,12 @@ extern const char SettingRightChar;
|
|||||||
extern const char SettingLeftChar;
|
extern const char SettingLeftChar;
|
||||||
extern const char SettingAutoChar;
|
extern const char SettingAutoChar;
|
||||||
|
|
||||||
#define LANG_EN
|
//#define LANG_EN
|
||||||
//#define LANG_RU
|
//#define LANG_RU
|
||||||
//#define LANG_ES
|
//#define LANG_ES
|
||||||
//#define LANG_SE
|
//#define LANG_SE
|
||||||
//#define LANG_IT
|
//#define LANG_IT
|
||||||
//#define LANG_FR
|
#define LANG_FR
|
||||||
//#define LANG_DE
|
//#define LANG_DE
|
||||||
//#define LANG_CS_CZ
|
//#define LANG_CS_CZ
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,8 @@
|
|||||||
#include "Translation.h"
|
#include "Translation.h"
|
||||||
|
|
||||||
#ifdef LANG_EN
|
#ifdef LANG_EN
|
||||||
const char* SettingsLongNames[16] = {
|
const char* SettingsLongNames[16] =
|
||||||
|
{
|
||||||
/*These are all the help text for all the settings.*/
|
/*These are all the help text for all the settings.*/
|
||||||
/*No requirements on spacing or length*/
|
/*No requirements on spacing or length*/
|
||||||
"Power source. Sets cutoff voltage. <DC 10V> <S 3.3V per cell>", //Power Source
|
"Power source. Sets cutoff voltage. <DC 10V> <S 3.3V per cell>", //Power Source
|
||||||
@@ -28,7 +29,8 @@ const char* SettingsLongNames[16] = {
|
|||||||
"Display detailed information while soldering", //ADV SLD
|
"Display detailed information while soldering", //ADV SLD
|
||||||
};
|
};
|
||||||
|
|
||||||
const char* SettingsCalibrationWarning = "Please ensure the tip is at room temperature before continuing!";
|
const char* SettingsCalibrationWarning =
|
||||||
|
"Please ensure the tip is at room temperature before continuing!";
|
||||||
const char* UVLOWarningString = "LOW VOLT"; //Fixed width 8 chars
|
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* SleepingAdvancedString = "Sleeping..."; // <=17 chars
|
||||||
|
|||||||
@@ -314,8 +314,7 @@ static void gui_settingsMenu() {
|
|||||||
settingsResetRequest = false;
|
settingsResetRequest = false;
|
||||||
bool earlyExit = false;
|
bool earlyExit = false;
|
||||||
uint32_t descriptionStart = 0;
|
uint32_t descriptionStart = 0;
|
||||||
while ((settingsMenu[currentScreen].description != NULL)
|
while ((settingsMenu[currentScreen].incrementHandler.func != NULL) && earlyExit == false) {
|
||||||
&& earlyExit == false) {
|
|
||||||
lcd.setFont(0);
|
lcd.setFont(0);
|
||||||
lcd.clearScreen();
|
lcd.clearScreen();
|
||||||
lcd.setCursor(0, 0);
|
lcd.setCursor(0, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user