mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Merge pull request #37 from jwilk/total-types
Fixed printf directives for tx/rx counters
This commit is contained in:
commit
3fe6d495d1
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ void handle_command_sequence(char input_char, char previous_char, char *output_c
|
||||||
case KEY_S:
|
case KEY_S:
|
||||||
/* Show tx/rx statistics upon ctrl-t s sequence */
|
/* Show tx/rx statistics upon ctrl-t s sequence */
|
||||||
tio_printf("Statistics:");
|
tio_printf("Statistics:");
|
||||||
tio_printf(" Sent %ld bytes, received %ld bytes", tx_total, rx_total);
|
tio_printf(" Sent %lu bytes, received %lu bytes", tx_total, rx_total);
|
||||||
*forward = false;
|
*forward = false;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue