References
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
|
||||
#include "OperatingModes.h"
|
||||
|
||||
extern bool heaterThermalRunaway;
|
||||
|
||||
void gui_solderingMode(uint8_t jumpToSleep) {
|
||||
/*
|
||||
* * Soldering (gui_solderingMode)
|
||||
@@ -219,7 +222,7 @@ void gui_solderingMode(uint8_t jumpToSleep) {
|
||||
return; // we want to exit soldering mode
|
||||
}
|
||||
#endif
|
||||
if (shouldBeSleeping()) {
|
||||
if (shouldBeSleeping(false)) {
|
||||
if (gui_SolderingSleepingMode(false, false)) {
|
||||
return; // If the function returns non-0 then exit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
|
||||
#include "Buttons.hpp"
|
||||
#include "OperatingModeUtilities.h"
|
||||
#include "configuration.h"
|
||||
#ifdef POW_DC
|
||||
extern volatile uint32_t currentTempTargetDegC;
|
||||
// returns true if undervoltage has occured
|
||||
bool checkForUnderVoltage(void) {
|
||||
if (!getIsPoweredByDCIN()) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "OperatingModeUtilities.h"
|
||||
|
||||
static void gui_drawBatteryIcon() {
|
||||
void gui_drawBatteryIcon(void) {
|
||||
#if defined(POW_PD) || defined(POW_QC)
|
||||
if (!getIsPoweredByDCIN()) {
|
||||
// On non-DC inputs we replace this symbol with the voltage we are operating on
|
||||
|
||||
Reference in New Issue
Block a user