diff options
Diffstat (limited to 'ports/stm32/mpthreadport.c')
| -rw-r--r-- | ports/stm32/mpthreadport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/mpthreadport.c b/ports/stm32/mpthreadport.c index 48c2c3bf5..ecdb26846 100644 --- a/ports/stm32/mpthreadport.c +++ b/ports/stm32/mpthreadport.c @@ -75,7 +75,7 @@ void mp_thread_create(void *(*entry)(void *), void *arg, size_t *stack_size) { uint32_t id = pyb_thread_new(th, stack, stack_len, entry, arg); if (id == 0) { mp_thread_mutex_unlock(&thread_mutex); - mp_raise_msg(&mp_type_OSError, "can't create thread"); + mp_raise_msg(&mp_type_OSError, MP_ERROR_TEXT("can't create thread")); } mp_thread_mutex_unlock(&thread_mutex); |
