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.
Fork of mbed-dev by
Diff: targets/TARGET_ONSEMI/TARGET_NCS36510/rtc.c
- Revision:
- 186:707f6e361f3e
- Parent:
- 174:b96e65c34a4d
diff -r 08ed48f1de7f -r 707f6e361f3e targets/TARGET_ONSEMI/TARGET_NCS36510/rtc.c
--- a/targets/TARGET_ONSEMI/TARGET_NCS36510/rtc.c Thu Apr 19 17:12:19 2018 +0100
+++ b/targets/TARGET_ONSEMI/TARGET_NCS36510/rtc.c Fri Jun 22 16:45:37 2018 +0100
@@ -41,6 +41,9 @@
* if the alarm occurs upon a Counter increment condition.
*
*/
+
+#ifdef DEVICE_RTC
+
#include "rtc.h"
#include "mbed_assert.h"
#include "lp_ticker_api.h"
@@ -300,3 +303,5 @@
return False;
}
}
+
+#endif
