1
0
forked from me/IronOS
Files
IronOS/source/Core/Threads/OperatingModes/utils/DrawTipTemperature.cpp
Ben V. Brown 5b86637e48 Fixup
2023-10-24 08:27:05 +11:00

16 lines
527 B
C++

#include "OperatingModeUtilities.h"
#include "OperatingModes.h"
#include "SolderingCommon.h"
#include "TipThermoModel.h"
void gui_drawTipTemp(bool symbol, const FontStyle font) {
// Draw tip temp handling unit conversion & tolerance near setpoint
TemperatureType_t Temp = getTipTemp();
OLED::printNumber(Temp, 3, font); // Draw the tip temp out
if (symbol) {
// For big font, can draw nice symbols, otherwise fall back to chars
OLED::printSymbolDeg(font == FontStyle::LARGE ? FontStyle::EXTRAS : font);
}
}