1
0
forked from me/IronOS

References

This commit is contained in:
Ben V. Brown
2022-11-22 18:26:16 +11:00
parent 27297fd692
commit 6cbb01db41
6 changed files with 16 additions and 952 deletions

View File

@@ -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()) {

View File

@@ -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