kopia lustrzana https://github.com/micropython/micropython
zephyr/zephyr_getchar: Use native k_sem instead of legacy nano_sem.
rodzic
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;
|
||||
|
|
Ładowanie…
Reference in New Issue