Use the kernel API k_is_in_isr() instead of the internal _is_in_isr() function. Signed-off-by: Rajavardhan Gundi <rajavardhan.gundi@intel.com>
This API is used to specify delay in ms. This is analogous to k_sleep in the kernel. Signed-off-by: Rajavardhan Gundi <rajavardhan.gundi@intel.com>