USART fix handle_tx_ready, tweak priority of the sample.

This commit is contained in:
NIIBE Yutaka
2017-12-16 14:33:40 +09:00
parent 72210e4250
commit 19b0590c1f
3 changed files with 16 additions and 8 deletions

View File

@@ -27,9 +27,9 @@ blk (void *arg)
return NULL;
}
#define PRIO_USART 4
#define PRIO_CDC2USART 2
#define PRIO_USART2CDC 2
#define PRIO_USART 2
#define PRIO_CDC2USART 3
#define PRIO_USART2CDC 3
#define STACK_MAIN
#define STACK_PROCESS_2

View File

@@ -636,7 +636,7 @@ usb_rx_ready (uint8_t ep_num, uint16_t len)
static void *cdc_main (void *arg);
#define PRIO_CDC 3
#define PRIO_CDC 4
void