From d74c4f38ce48a7c730f038f3fbcb424f182baa3e Mon Sep 17 00:00:00 2001 From: David Pye Date: Tue, 5 Sep 2023 17:36:39 +0100 Subject: [PATCH] Prepare for next release Disable serial debug by default. --- V10_BMS/src/config.h | 2 +- V10_BMS/src/serial.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/V10_BMS/src/config.h b/V10_BMS/src/config.h index 8333cc0..d726f73 100644 --- a/V10_BMS/src/config.h +++ b/V10_BMS/src/config.h @@ -49,6 +49,6 @@ #define FULL_CHARGE_PAUSE_COUNT 10 //Once a cell reaches max charge volts, pause for 30 seconds and retry, this many times. -#define SERIAL_DEBUG 1 +//#define SERIAL_DEBUG 1 //Serial debug via the spare USART on the programming pins header #endif /* CONFIG_H_ */ \ No newline at end of file diff --git a/V10_BMS/src/serial.c b/V10_BMS/src/serial.c index 7ee9617..3f478e8 100644 --- a/V10_BMS/src/serial.c +++ b/V10_BMS/src/serial.c @@ -118,7 +118,6 @@ void usart_read_callback(struct usart_module *const usart_module) { } } } - //Queue up next read.*/ usart_read_buffer_job(&usart_instance, (uint8_t *)serial_read_buffer, 40); } void serial_init() {