BLE_BlueNRG for Nucleo board

Dependents:   Nucleo_BLE_HeartRate Nucleo_BLE_UART Nucleo_BLE_UART

Warning: Deprecated!

Supported drivers and applications can be found at this link.

platform/src/clock.c

Committer:
sjallouli
Date:
2014-12-24
Revision:
2:905715088a9b
Parent:
0:a948f5f3904c

File content as of revision 2:905715088a9b:


#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(int i)
{
	wait_ms(i);
}
/*---------------------------------------------------------------------------*/