mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix XMODEM reception start failure.
This commit is contained in:
parent
3af4c5591e
commit
102657af58
1 changed files with 1 additions and 1 deletions
|
|
@ -756,7 +756,7 @@ void handle_command_sequence(char input_char, char *output_char, bool *forward)
|
|||
|
||||
tio_printf("Ready to receiving file '%s' ", line);
|
||||
tio_printf("Press any key to abort transfer");
|
||||
ret = xymodem_send(device_fd, line, XMODEM_CRC);
|
||||
ret = xymodem_receive(device_fd, line, XMODEM_CRC);
|
||||
tio_printf("%s", ret < 0 ? "Aborted" : "Done");
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue