Print this page
XXXX introduce drv_sectohz
*** 54,64 ****
* Time resolution conversions.
*/
#define MS2NANO(x) ((x) * MICROSEC)
#define MS2SEC(x) ((x) / MILLISEC)
#define MS2MIN(x) (MS2SEC(x) / 60)
! #define SEC2HZ(x) (drv_usectohz((x) * MICROSEC))
/*
* Domains Services interaction
*/
static ds_svc_hdl_t ds_md_handle;
--- 54,64 ----
* Time resolution conversions.
*/
#define MS2NANO(x) ((x) * MICROSEC)
#define MS2SEC(x) ((x) / MILLISEC)
#define MS2MIN(x) (MS2SEC(x) / 60)
! #define SEC2HZ(x) drv_sectohz(x)
/*
* Domains Services interaction
*/
static ds_svc_hdl_t ds_md_handle;