mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Update show config
This commit is contained in:
parent
134fa87a5c
commit
6f9e41152b
2 changed files with 2 additions and 2 deletions
|
|
@ -193,7 +193,7 @@ void line_pulse_duration_option_parse(const char *arg)
|
||||||
|
|
||||||
void options_print()
|
void options_print()
|
||||||
{
|
{
|
||||||
tio_printf(" TTY device: %s", option.tty_device);
|
tio_printf(" Device: %s", option.tty_device);
|
||||||
tio_printf(" Baudrate: %u", option.baudrate);
|
tio_printf(" Baudrate: %u", option.baudrate);
|
||||||
tio_printf(" Databits: %d", option.databits);
|
tio_printf(" Databits: %d", option.databits);
|
||||||
tio_printf(" Flow: %s", option.flow);
|
tio_printf(" Flow: %s", option.flow);
|
||||||
|
|
|
||||||
|
|
@ -473,8 +473,8 @@ void handle_command_sequence(char input_char, char previous_char, char *output_c
|
||||||
|
|
||||||
case KEY_C:
|
case KEY_C:
|
||||||
tio_printf("Configuration:");
|
tio_printf("Configuration:");
|
||||||
config_file_print();
|
|
||||||
options_print();
|
options_print();
|
||||||
|
config_file_print();
|
||||||
if (option.rs485)
|
if (option.rs485)
|
||||||
{
|
{
|
||||||
rs485_print_config();
|
rs485_print_config();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue