Commit 220df854 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

zephyr/zephyr_getchar: Use native k_sem instead of legacy nano_sem.

parent 3f810dae
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment