My fork of X_NUCLEO_IDB0XA1
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/platform/clock.c
- Revision:
- 306:3a7d9f923493
- Parent:
- 252:0c2cb16a7166
- Parent:
- 305:3d978a7bffc9
diff -r 0c2cb16a7166 -r 3a7d9f923493 source/platform/clock.c --- a/source/platform/clock.c Mon Jun 27 15:51:20 2016 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,34 +0,0 @@ - -#include "clock.h" -#include "wait_api.h" -#include "rtc_time.h" - -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); -} -/*---------------------------------------------------------------------------*/ - - -