/* This function provides a minimum delay based on Tick counter.  */
static void LSM6DSO_Delay(LSM6DSO_Object_t *pObj, uint32_t msDelay)
/* This function provides a minimum delay based on Tick counter.  */
static void LSM6DSO_Delay(LSM6DSO_Object_t *pObj, uint32_t msDelay)
{
  uint32_t tickstart = pObj->IO.GetTick();
  while((pObj->IO.GetTick() - tickstart) < msDelay)
  {
  }
}