1
0
forked from me/IronOS
This commit is contained in:
Ben V. Brown
2022-11-22 18:26:07 +11:00
parent fe77fb097e
commit 27297fd692
2 changed files with 18 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ extern "C" {
#include "LIS2DH12.hpp"
#include "MMA8652FC.hpp"
#include "OLED.hpp"
#include "OperatingModeUtilities.h"
#include "Settings.h"
#include "TipThermoModel.h"
#include "Translation.h"
@@ -31,5 +32,9 @@ extern "C" {
void performCJCC(void); // Used to calibrate the Cold Junction offset
void gui_solderingTempAdjust(void); // For adjusting the setpoint temperature of the iron
int gui_SolderingSleepingMode(bool stayOff, bool autoStarted); // Sleep mode
void gui_solderingMode(uint8_t jumpToSleep);
void gui_solderingMode(uint8_t jumpToSleep); // Main mode for hot pointy tool
void showDebugMenu(void); // Debugging values
void showPDDebug(void); // Debugging menu that hows PD adaptor info
void showWarnings(void); // Shows user warnings if required
//
#endif

View File

@@ -3,8 +3,16 @@
#include "OLED.hpp"
#include <stdbool.h>
bool checkForUnderVoltage(void);
uint32_t getSleepTimeout(void);
bool shouldBeSleeping(bool inAutoStart);
void GUIDelay(); //
bool checkForUnderVoltage(void); //
uint32_t getSleepTimeout(void); //
bool shouldBeSleeping(bool inAutoStart); //
bool shouldShutdown(void); //
void gui_drawTipTemp(bool symbol, const FontStyle font); //
void printVoltage(void); //
void warnUser(const char *warning, const int timeout); //
void gui_drawBatteryIcon(void); //
bool checkForUnderVoltage(void); //
uint16_t min(uint16_t a, uint16_t b); //
void printCountdownUntilSleep(int sleepThres); //
#endif