Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2016-08-10 17:24:14 +0300
committerDavid Crocker <dcrocker@eschertech.com>2016-08-10 17:24:14 +0300
commit4bca2a787bf6ad3bafe1472682bfdfcfaae4180e (patch)
tree7698d993a86066e17f0c9e92dd42d836abca6b06 /src/OutputMemory.cpp
parent868f60589b3f1f85b0250e46f49f6ef706553981 (diff)
Version 1.15 beta 6
Add support for second SD card on SPI bus for Duet WiFi including implementation of M21 and M22 New temperature monitoring Increased PWM resolution When uploading files to wifi module, skip empty blocks Revised TMC driver in preparation for standstill current reduction Fixed PrintMonitor bug when the slicer comment includes a '\' character
Diffstat (limited to 'src/OutputMemory.cpp')
-rw-r--r--src/OutputMemory.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/OutputMemory.cpp b/src/OutputMemory.cpp
index e6155bd0..1c0aebfe 100644
--- a/src/OutputMemory.cpp
+++ b/src/OutputMemory.cpp
@@ -300,10 +300,9 @@ size_t OutputBuffer::EncodeString(const char *src, size_t srcLength, bool allowC
esc = 't';
break;
case '"':
- esc = '"';
- break;
case '\\':
- esc = '\\';
+ case '/':
+ esc = c;
break;
default:
esc = 0;