diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-27 00:41:58 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-27 00:41:58 +0300 |
commit | 220df8544b9ed1792fc35fd5b4782bc6f6910a18 (patch) | |
tree | 9d873efab53cdaad4173a1e8e2014027380fc5d6 /zephyr | |
parent | 3f810daeb310520beb1635510430c0c6b6123548 (diff) | |
download | micropython-220df8544b9ed1792fc35fd5b4782bc6f6910a18.tar.gz micropython-220df8544b9ed1792fc35fd5b4782bc6f6910a18.zip |
zephyr/zephyr_getchar: Use native k_sem instead of legacy nano_sem.
Diffstat (limited to 'zephyr')
-rw-r--r-- | zephyr/src/zephyr_getchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/src/zephyr_getchar.c b/zephyr/src/zephyr_getchar.c index 95912f3df2..246d86a2ef 100644 --- a/zephyr/src/zephyr_getchar.c +++ b/zephyr/src/zephyr_getchar.c @@ -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; |