From 0e9737eb6178e89c3a66cd26ff2a07dcb23bb213 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Sat, 16 Dec 2017 17:17:58 +0900 Subject: [PATCH] Fix priority setting of USART (serial needs tight timing). --- example-usb-serial/sample.c | 2 +- example-usb-serial/usb-cdc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example-usb-serial/sample.c b/example-usb-serial/sample.c index acf45cd..2a3e925 100644 --- a/example-usb-serial/sample.c +++ b/example-usb-serial/sample.c @@ -27,7 +27,7 @@ blk (void *arg) return NULL; } -#define PRIO_USART 2 +#define PRIO_USART 4 #define PRIO_CDC2USART 3 #define PRIO_USART2CDC 3 diff --git a/example-usb-serial/usb-cdc.c b/example-usb-serial/usb-cdc.c index fce5663..1620733 100644 --- a/example-usb-serial/usb-cdc.c +++ b/example-usb-serial/usb-cdc.c @@ -637,7 +637,7 @@ usb_rx_ready (uint8_t ep_num, uint16_t len) static void *cdc_main (void *arg); -#define PRIO_CDC 4 +#define PRIO_CDC 2 void