Files
TencentOS-tiny/components/connectivity/LoraWAN/system/delay.c
supowang edb2879617 first commit for opensource
first commit for opensource
2019-09-16 13:19:50 +08:00

35 lines
791 B
C

/*!
* \file delay.c
*
* \brief Delay implementation
*
* \copyright Revised BSD License, see section \ref LICENSE.
*
* \code
* ______ _
* / _____) _ | |
* ( (____ _____ ____ _| |_ _____ ____| |__
* \____ \| ___ | (_ _) ___ |/ ___) _ \
* _____) ) ____| | | || |_| ____( (___| | | |
* (______/|_____)_|_|_| \__)_____)\____)_| |_|
* (C)2013-2017 Semtech
*
* \endcode
*
* \author Miguel Luis ( Semtech )
*
* \author Gregory Cristian ( Semtech )
*/
#include "delay-board.h"
#include "delay.h"
void Delay( float s )
{
DelayMs( s * 1000.0f );
}
void DelayMs( uint32_t ms )
{
DelayMsMcu( ms );
}