Skip to content

Commit 220df85

Browse files
committed
zephyr/zephyr_getchar: Use native k_sem instead of legacy nano_sem.
1 parent 3f810da commit 220df85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zephyr/src/zephyr_getchar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
extern int mp_interrupt_char;
2424
void mp_keyboard_interrupt(void);
2525

26-
static struct nano_sem uart_sem;
26+
static struct k_sem uart_sem;
2727
#define UART_BUFSIZE 256
2828
static uint8_t uart_ringbuf[UART_BUFSIZE];
2929
static uint8_t i_get, i_put;

0 commit comments

Comments
 (0)