zephyr/zephyr_getchar: Use native k_sem instead of legacy nano_sem.
This commit is contained in:
parent
3f810daeb3
commit
220df8544b
@ -23,7 +23,7 @@
|
||||
extern int mp_interrupt_char;
|
||||
void mp_keyboard_interrupt(void);
|
||||
|
||||
static struct nano_sem uart_sem;
|
||||
static struct k_sem uart_sem;
|
||||
#define UART_BUFSIZE 256
|
||||
static uint8_t uart_ringbuf[UART_BUFSIZE];
|
||||
static uint8_t i_get, i_put;
|
||||
|
Loading…
x
Reference in New Issue
Block a user