Track and return Operating Mode with BLE (#1553)

Track and return Operating Mode with BLE
This commit is contained in:
Thomas White
2023-02-04 06:33:43 +08:00
committed by GitHub
parent e19e1a066d
commit 9802a622d5
7 changed files with 33 additions and 3 deletions

View File

@@ -1,7 +1,8 @@
#include "OperatingModes.h"
extern bool heaterThermalRunaway;
extern bool heaterThermalRunaway;
extern OperatingMode currentMode;
void gui_solderingMode(uint8_t jumpToSleep) {
/*
@@ -20,6 +21,7 @@ void gui_solderingMode(uint8_t jumpToSleep) {
*/
bool boostModeOn = false;
bool buttonsLocked = false;
currentMode = OperatingMode::soldering;
if (jumpToSleep) {
if (gui_SolderingSleepingMode(jumpToSleep == 2, true) == 1) {