while (true) { vTaskDelay(1); // c = getchar(); c = uart_getc_nowait(0); if ( c == -1) continue; 入力文字有り }