lpcmanager

Parents 14fb18af93d5
Children 6868d48a7c7e
LPCBus: enlarge timeout for rs485 devices with short buffer. Fixes CH1 module response being ignored.
--- a/LPCBus/SOM_Devices_decl.c Fri Sep 27 11:18:13 2024 +0200
+++ b/LPCBus/SOM_Devices_decl.c Mon Oct 21 16:18:05 2024 +0200
@@ -491,7 +491,7 @@
unsigned char i=0;
uartTimeout.tv_sec = 0;
- uartTimeout.tv_usec = 40000; /* 40 ms timeout */
+ uartTimeout.tv_usec = 50000; /* 50 ms timeout */
for(i=0;i<MAX_UART_DEVICES;i++)
{