6 void led_thread(void const *argument) {
8 // Signal flags that are reported as event are automatically cleared.
9 osSignalWait(0x1, osWaitForever);
14 osThreadDef(led_thread, osPriorityNormal, DEFAULT_STACK_SIZE);
17 osThreadId tid = osThreadCreate(osThread(led_thread), NULL);
21 osSignalSet(tid, 0x1);