From 0cb47e0117200fe33d00506c6e0c2372bcbde70a Mon Sep 17 00:00:00 2001 From: mathl79 <88651276+mathl79@users.noreply.github.com> Date: Sat, 2 Nov 2024 08:40:35 +0100 Subject: [PATCH] Update Software.ino add SerialLink baud rate define --- Software/Software.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Software/Software.ino b/Software/Software.ino index 6b9cbc4a..ecaa687f 100644 --- a/Software/Software.ino +++ b/Software/Software.ino @@ -85,6 +85,9 @@ uint16_t mbPV[MB_RTU_NUM_VALUES]; // Process variable memory // Create a ModbusRTU server instance listening on Serial2 with 2000ms timeout ModbusServerRTU MBserver(Serial2, 2000); #endif +#if defined(SERIAL_LINK_RECEIVER) || defined(SERIAL_LINK_TRANSMITTER) +#define SERIAL_LINK_BAUDRATE 112500 +#endif // Common charger parameters volatile float charger_setpoint_HV_VDC = 0.0f;