From e4a8f05d7496a8a014668cfa4d221146e23b64dc Mon Sep 17 00:00:00 2001 From: Oskar Weigl Date: Mon, 12 Feb 2018 21:54:25 -0800 Subject: [PATCH] fix sem_usb_rx token remove bug --- Firmware/MotorControl/legacy_commands.c | 6 ------ Firmware/Src/freertos.c | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Firmware/MotorControl/legacy_commands.c b/Firmware/MotorControl/legacy_commands.c index 254f9dd7..0de2acdf 100644 --- a/Firmware/MotorControl/legacy_commands.c +++ b/Firmware/MotorControl/legacy_commands.c @@ -232,8 +232,6 @@ void legacy_parse_cmd(const uint8_t* buffer, size_t len, size_t buffer_capacity, } } } - - serial_printf_select = SERIAL_PRINTF_IS_UART; } void legacy_parse_stream(const uint8_t* buffer, size_t len) { @@ -271,8 +269,6 @@ void legacy_parse_stream(const uint8_t* buffer, size_t len) { } static void print_monitoring(int limit) { - serial_printf_select = SERIAL_PRINTF_IS_USB; - for (int i=0;i