zephyr/subsys/modbus
Abram Early 583f4956dc modbus: reset wait semaphore before tx
A response returned after a request times out would increment the
semaphore and stay until the next request is made which will immediately
return when k_sem_take is called even before a response is returned. This
will once again have the same problem when the actual response arrives.
So the wait semaphore just needs to be reset before transmitting.

Signed-off-by: Abram Early <abram.early@gmail.com>
2024-10-07 17:12:44 +01:00
..
CMakeLists.txt
Kconfig
modbus_client.c
modbus_core.c modbus: reset wait semaphore before tx 2024-10-07 17:12:44 +01:00
modbus_internal.h
modbus_raw.c
modbus_serial.c modbus_serial: Disable rx interrupt if buffer fills up 2024-06-13 16:48:05 -04:00
modbus_server.c