Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
divi255 committed Mar 8, 2024
1 parent 93591fc commit 3ce2f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ impl ModbusRequest {
MODBUS_GET_COILS | MODBUS_GET_DISCRETES | MODBUS_GET_HOLDINGS | MODBUS_GET_INPUTS => {
// no data bytes count byte -> skip 1 fewer byte
&buf[frame_start + 2..frame_end]
},
}
_ => &buf[frame_start + 3..frame_end],
};
Ok(val)
Expand Down

0 comments on commit 3ce2f1f

Please sign in to comment.