![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
MAIN
Fork of SOFT253_Template_Weather_OS_54 by
Diff: sensor.cpp
- Revision:
- 37:13f74964a045
- Parent:
- 36:af6abc6f7590
--- a/sensor.cpp Mon May 15 08:58:08 2017 +0000 +++ b/sensor.cpp Mon May 15 11:38:07 2017 +0000 @@ -42,12 +42,10 @@ entry.tempCelsius = tempCelsius; entry.humi = humi; entry.pressure= barometer.pressure(); - entry.seconds = seconds; - entry.minutes = minutes; - entry.hours = hours; + entry.logtime = time(0); log_push(entry); mutex_s.unlock(); - Thread::wait(15000); + Thread::wait(1000); }