Added a definition for using RTOS delay milliseconds function.