Commit 52ff9d49 authored by Markéta Jedličková's avatar Markéta Jedličková
Browse files

Init altitude and humidity added

parent 3bc5de16
......@@ -35,7 +35,7 @@ void OcsStorage::Update(message income, uint8_t screenNum)
ocsDesign.drawMinPress(income.pressure);
ocsDesign.drawMaxPress(income.pressure);
ocsDesign.drawAltitude(income.altitude);
ocsDesign.drawHumidity(income.humidity);
ocsDesign.drawHumidity(income.humidity_bme280);
minData.temperature = income.temperature;
maxData.temperature = income.temperature;
minData.pressure = income.pressure;
......@@ -51,7 +51,7 @@ void OcsStorage::Update(message income, uint8_t screenNum)
ocsDesign.drawMinPress(minData.pressure);
ocsDesign.drawMaxPress(maxData.pressure);
ocsDesign.drawAltitude(income.altitude);
ocsDesign.drawHumidity(income.humidity);
ocsDesign.drawHumidity(income.humidity_bme280);
isTransition = false;
}
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment