Fix XMODEM reception start failure.

This commit is contained in:
yabu76 2025-08-14 09:03:58 +09:00
parent 3af4c5591e
commit 102657af58

View file

@ -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;