RTC auf true
Diff: platform/mbed_rtc_time.cpp
- Revision:
- 2:7aab896b1a3b
- Parent:
- 1:7bcfbc328423
--- a/platform/mbed_rtc_time.cpp Thu Nov 29 19:05:57 2018 +0000 +++ b/platform/mbed_rtc_time.cpp Wed Mar 13 11:03:24 2019 +0000 @@ -105,14 +105,14 @@ void set_time(time_t t) { -// _mutex->lock(); + _mutex->lock(); if (_rtc_init != NULL) { _rtc_init(); } if (_rtc_write != NULL) { _rtc_write(t); } -// _mutex->unlock(); + _mutex->unlock(); } void attach_rtc(time_t (*read_rtc)(void), void (*write_rtc)(time_t), void (*init_rtc)(void), int (*isenabled_rtc)(void))