1
0
forked from me/IronOS
Files
IronOS/source/Core/Threads/OperatingModes/utils/ShowWarning.cpp
Ben V. Brown 5303d27f96 Starting GUI render refactor to be more immediate mode
Update TemperatureAdjust.cpp

.

Cleanup Soldering

Sleep

SolderingProfiles

Soldering Rework

Rough pass GUI

Temp Adjust

Cleanup old OperatingMode

Debug Menu
2023-10-24 08:27:04 +11:00

10 lines
267 B
C++

#include "Buttons.hpp"
#include "OperatingModeUtilities.h"
#include "OperatingModes.h"
bool warnUser(const char *warning, const ButtonState buttons) {
OLED::clearScreen();
OLED::printWholeScreen(warning);
// TODO also timeout
return buttons != BUTTON_NONE;
}