diff --git a/FluidNC/src/ProcessSettings.cpp b/FluidNC/src/ProcessSettings.cpp index bb203d8de..cd25e4968 100644 --- a/FluidNC/src/ProcessSettings.cpp +++ b/FluidNC/src/ProcessSettings.cpp @@ -644,8 +644,10 @@ static Error xmodem_send(const char* value, WebUI::AuthenticationLevel auth_leve log_info("Cannot open " << value); return Error::DownloadFailed; } + bool oldCr = out.setCr(false); log_info("Sending " << value << " via XModem"); int size = xmodemTransmit(&out, infile); + out.setCr(oldCr); delete infile; if (size >= 0) { log_info("Sent " << size << " bytes");