Skip to content

Commit 47ff9ef

Browse files
committed
Minor format
1 parent 082d532 commit 47ff9ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modbus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ int modbus_reply(modbus_t *ctx,
10581058
uint16_t and = (req[offset + 3] << 8) + req[offset + 4];
10591059
uint16_t or = (req[offset + 5] << 8) + req[offset + 6];
10601060

1061-
data = (data & and) | (or &(~and));
1061+
data = (data & and) | (or &(~and) );
10621062
mb_mapping->tab_registers[mapping_address] = data;
10631063
memcpy(rsp, req, req_length);
10641064
rsp_length = req_length;

0 commit comments

Comments
 (0)