From 28e698e160f1ccc728fd84e0361e424571df40fc Mon Sep 17 00:00:00 2001 From: "Thorben T." Date: Tue, 22 Oct 2024 06:23:33 +0200 Subject: [PATCH] enable libmodbus quirks --- src/mbpoll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mbpoll.c b/src/mbpoll.c index e788742..4872447 100644 --- a/src/mbpoll.c +++ b/src/mbpoll.c @@ -821,6 +821,7 @@ main (int argc, char **argv) { vIoErrorExit ("Unable to create the libmodbus context"); } modbus_set_debug (ctx.xBus, ctx.bIsVerbose); + modbus_enable_quirks(ctx.xBus, MODBUS_QUIRK_ALL); if (false == ctx.bIsQuiet) { vHello();