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