rtos: fix style in rtos wait

Found during editing copyright message
pull/8690/head
Martin Kojtal 2018-11-29 10:51:18 +00:00
parent fd301c708b
commit 226219f3f2
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ void wait_ms(int ms)
if (core_util_is_isr_active() || !core_util_are_interrupts_enabled()) {
#if defined(MBED_TRAP_ERRORS_ENABLED) && MBED_TRAP_ERRORS_ENABLED
MBED_ERROR(MBED_MAKE_ERROR(MBED_MODULE_PLATFORM, MBED_ERROR_INVALID_OPERATION),
"Deprecated behavior: milli-sec delay should not be used in interrupt.\n");
"Deprecated behavior: milli-sec delay should not be used in interrupt.\n");
#else
wait_us(ms * 1000);
#endif