From 102657af582a069e18cce136e55d1782a639f980 Mon Sep 17 00:00:00 2001 From: yabu76 Date: Thu, 14 Aug 2025 09:03:58 +0900 Subject: [PATCH] Fix XMODEM reception start failure. --- src/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tty.c b/src/tty.c index efda859..01c2b1d 100644 --- a/src/tty.c +++ b/src/tty.c @@ -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;