Skip to content

Commit 8303f53

Browse files
committed
src/modbus.c: _modbus_receive_msg(): printf("\n") to flush after angle-bracket debug printout
Signed-off-by: Jim Klimov <[email protected]>
1 parent 72fdf60 commit 8303f53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modbus.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ int _modbus_receive_msg(modbus_t *ctx, uint8_t *msg, msg_type_t msg_type)
488488
int i;
489489
for (i = 0; i < rc; i++)
490490
printf("<%.2X>", msg[msg_length + i]);
491+
printf("\n");
491492
}
492493

493494
/* Sums bytes received */

0 commit comments

Comments
 (0)