ble-uart: Prevent buffer overflow
Compare changes
+ 14
− 14
@@ -119,18 +119,20 @@ static uint8_t UARTWriteCback(
@@ -141,16 +143,14 @@ void ble_uart_write(uint8_t *pValue, uint8_t len)
For messages with lines longer than 129 characters, ble_uart_write would start overwriting adjacent memory. This commit fixes this by starting a new line once the buffer runs full.