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.
Dependents: BLE_HeartRate_IDB0XA1_EPUDEE_Avril2018
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/platform/clock.c
- Branch:
- 34e2f6254ad7de7fc7f377a0614c3a672cf7cd5c
- Revision:
- 280:fbee0e3444be
- Parent:
- 279:30a6a8ad2623
- Child:
- 281:bc99b05605cb
--- a/source/platform/clock.c Thu Sep 15 10:51:44 2016 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-
-#include "clock.h"
-#ifdef YOTTA_CFG_MBED_OS
- #include "mbed-drivers/wait_api.h"
- #include "mbed-drivers/rtc_time.h"
-#else
- #include "wait_api.h"
- #include "rtc_time.h"
-#endif
-
-const uint32_t CLOCK_SECOND = 1000;
-
-/*---------------------------------------------------------------------------*/
-
-void Clock_Init(void)
-{
- //Not Used
-}
-
-/*---------------------------------------------------------------------------*/
-
-tClockTime Clock_Time(void)
-{
- return clock();
-}
-
-/*---------------------------------------------------------------------------*/
-/**
- * Wait for a multiple of 1 ms.
- *
- */
-void Clock_Wait(uint32_t i)
-{
- wait_ms(i);
-}
-/*---------------------------------------------------------------------------*/
\ No newline at end of file
