/* This function provides accurate delay (in milliseconds) based on variable incremented.  */
__weak void HAL_Delay(uint32_t Delay)
/* This function provides accurate delay (in milliseconds) based on variable incremented.  */
__weak void HAL_Delay(uint32_t Delay)
{
		wait += (uint32_t)(uwTickFreq);
	}
	while ((HAL_GetTick() - tickstart) < wait) {
	}
}