Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 1:7bcfbc328423, committed 2018-11-29
- Comitter:
- kevman
- Date:
- Thu Nov 29 19:05:57 2018 +0000
- Parent:
- 0:38ceb79fef03
- Child:
- 2:7aab896b1a3b
- Commit message:
- RTC modified
Changed in this revision
| platform/mbed_rtc_time.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/platform/mbed_rtc_time.cpp Wed Nov 28 15:10:15 2018 +0000
+++ b/platform/mbed_rtc_time.cpp Thu Nov 29 19:05:57 2018 +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))