1
0
forked from me/IronOS

Still testing

This commit is contained in:
Ben V. Brown
2020-07-21 13:39:50 +10:00
parent c70689df7d
commit b6c61cfb52
31 changed files with 674 additions and 557 deletions

View File

@@ -247,7 +247,7 @@ static void gui_solderingTempAdjust() {
if (xTaskGetTickCount() - lastChange > 200)
return; // exit if user just doesn't press anything for a bit
#ifdef MODEL_TS80
#if defined (MODEL_TS80P)+defined(MODEL_TS80)>0
if (!OLED::getRotation()) {
#else
if (OLED::getRotation()) {
@@ -272,7 +272,7 @@ static void gui_solderingTempAdjust() {
OLED::drawSymbol(1);
}
OLED::print(SymbolSpace);
#ifdef MODEL_TS80
#if defined (MODEL_TS80P)+defined(MODEL_TS80)>0
if (!OLED::getRotation()) {
#else
if (OLED::getRotation()) {
@@ -770,7 +770,7 @@ void startGUITask(void const *argument __unused) {
} else {
OLED::setFont(0);
#ifdef MODEL_TS80
#if defined (MODEL_TS80P)+defined(MODEL_TS80)>0
if (!OLED::getRotation()) {
#else
if (OLED::getRotation()) {
@@ -791,7 +791,7 @@ void startGUITask(void const *argument __unused) {
if (tempOnDisplay) {
// draw temp over the start soldering button
// Location changes on screen rotation
#ifdef MODEL_TS80
#if defined (MODEL_TS80P)+defined(MODEL_TS80)>0
if (!OLED::getRotation()) {
#else
if (OLED::getRotation()) {