Browse Source

misc

master
Robin Thoni 4 years ago
parent
commit
9a685a055e
Signed by: Robin THONI <robin@rthoni.com> GPG Key ID: 4E09DEF46B99E61E
2 changed files with 1 additions and 4 deletions
  1. 1
    2
      AppCore.cpp
  2. 0
    2
      AppCore.h

+ 1
- 2
AppCore.cpp View File

199
     if (m_appCoreState.uiState.isUpdateNeeded)
199
     if (m_appCoreState.uiState.isUpdateNeeded)
200
     {
200
     {
201
         printState();
201
         printState();
202
-        m_appCoreState.uiState.isUpdateNeeded = false;
203
     }
202
     }
204
 }
203
 }
205
 
204
 
206
-
207
 void AppCore::setState(
205
 void AppCore::setState(
208
         UiStateEnum state
206
         UiStateEnum state
209
 )
207
 )
254
     m_lcd.setCursor(0, 1);
252
     m_lcd.setCursor(0, 1);
255
     printStateLine('C', m_appCoreState.appState.heater, m_appCoreState.uiState.state == HeaterSetting,
253
     printStateLine('C', m_appCoreState.appState.heater, m_appCoreState.uiState.state == HeaterSetting,
256
                    m_appCoreState.appState.heater.isActive);
254
                    m_appCoreState.appState.heater.isActive);
255
+    m_appCoreState.uiState.isUpdateNeeded = false;
257
 }
256
 }
258
 
257
 
259
 void
258
 void

+ 0
- 2
AppCore.h View File

52
     DallasTemperature m_sensors;
52
     DallasTemperature m_sensors;
53
     DeviceAddress m_sensor1;
53
     DeviceAddress m_sensor1;
54
 };
54
 };
55
-
56
-

Loading…
Cancel
Save