update RTOS.c