Fix temperature getting bumped off screen
This fixes the temp gettting bumped because I forgot to reset OLED::cursor_y after writing. Fixes #376 (hopefully)
This commit is contained in:
@@ -282,8 +282,8 @@ static void gui_drawBatteryIcon() {
|
||||
OLED::printNumber(1, 1);
|
||||
OLED::setCursor(xPos, 8);
|
||||
OLED::printNumber(V % 10, 1);
|
||||
|
||||
OLED::setFont(0);
|
||||
OLED::setCursor(xPos+12,0); // need to reset this as if we drew a wide char
|
||||
} else {
|
||||
OLED::printNumber(V, 1);
|
||||
}
|
||||
@@ -537,7 +537,6 @@ static void gui_solderingMode(uint8_t jumpToSleep) {
|
||||
OLED::print(SolderingAdvancedPowerPrompt); // Power:
|
||||
OLED::printNumber(getTipPWM(), 3);
|
||||
OLED::print("%");
|
||||
// OLED::printNumber(getTipRawTemp(0), 6);
|
||||
|
||||
if (systemSettings.sensitivity && systemSettings.SleepTime) {
|
||||
OLED::print(" ");
|
||||
@@ -784,6 +783,7 @@ void startGUITask(void const *argument __unused) {
|
||||
OLED::setFont(0);
|
||||
OLED::displayOnOff(true); // turn lcd on
|
||||
#ifdef MODEL_TS80
|
||||
//Here we re-check for tip presence
|
||||
if (idealQCVoltage < 90)
|
||||
idealQCVoltage = calculateMaxVoltage(1,
|
||||
systemSettings.cutoutSetting); // 1 means use filtered values rather than do its own
|
||||
@@ -1008,6 +1008,8 @@ void startPIDTask(void const *argument __unused) {
|
||||
}
|
||||
#define MOVFilter 8
|
||||
void startMOVTask(void const *argument __unused) {
|
||||
OLED::setRotation(false);
|
||||
|
||||
#ifdef MODEL_TS80
|
||||
startQC();
|
||||
while (idealQCVoltage == 0)
|
||||
|
||||
Reference in New Issue
Block a user