If conversion must be made then make it at the call
not upstream.
Change-Id: Ief6dee40355c7b39b5e27d0ba3dc02717fadf43b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-#define MS_PER_SECOND 1000
-
long long int system_time_us()
{
struct timespec t_usec;
long long int system_time_us()
{
struct timespec t_usec;
/// @brief Return the period in ms given the frequency in hertz.
float frequency_clock_t::frequency_to_period(float frequency)
{
/// @brief Return the period in ms given the frequency in hertz.
float frequency_clock_t::frequency_to_period(float frequency)
{
- return 1 / frequency * MS_PER_SECOND;
}
bool frequency_clock_t::started()
}
bool frequency_clock_t::started()