From b15e4b064fa4ab94ad36e05f0ab2482707cc32a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Raimbault?= Date: Tue, 22 Oct 2024 11:01:55 +0200 Subject: [PATCH] Minor --- src/modbus-rtu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modbus-rtu.c b/src/modbus-rtu.c index 07649fae..9a0609d5 100644 --- a/src/modbus-rtu.c +++ b/src/modbus-rtu.c @@ -370,8 +370,7 @@ static int _modbus_rtu_check_integrity(modbus_t *ctx, uint8_t *msg, const int ms return -1; } - /* Filter on the Modbus unit identifier (slave) in RTU mode to avoid useless - * CRC computing. */ + /* Filter on the Modbus unit identifier (slave) in RTU mode */ if (slave != ctx->slave && slave != MODBUS_BROADCAST_ADDRESS) { if (ctx->debug) { printf("Request for slave %d ignored (not %d)\n", slave, ctx->slave);