Move initialization of errormagic[] and echomagic[] to Marlin_main.cpp

This commit is contained in:
Denis Chertykov committed 2014-12-28 09:09:42 +03:00
1 parent f00a202246
commit 050ca9ca13
2 files changed
+6 -2

No files matched your search

+3 -2
View File
@@ -66,8 +66,9 @@
#define SERIAL_PROTOCOLLNPGM(x) (serialprintPGM(PSTR(x)),MYSERIAL.write('\n'))
const char errormagic[] PROGMEM ="Error:";
const char echomagic[] PROGMEM ="echo:";
extern const char errormagic[] PROGMEM;
extern const char echomagic[] PROGMEM;
#define SERIAL_ERROR_START (serialprintPGM(errormagic))
#define SERIAL_ERROR(x) SERIAL_PROTOCOL(x)
#define SERIAL_ERRORPGM(x) SERIAL_PROTOCOLPGM(x)