|
@@ -75,8 +75,8 @@ typedef unsigned long millis_t;
|
75
|
75
|
#define SERIAL_PROTOCOL(x) MYSERIAL.print(x)
|
76
|
76
|
#define SERIAL_PROTOCOL_F(x,y) MYSERIAL.print(x,y)
|
77
|
77
|
#define SERIAL_PROTOCOLPGM(x) serialprintPGM(PSTR(x))
|
78
|
|
-#define SERIAL_PROTOCOLLN(x) do{ MYSERIAL.print(x),MYSERIAL.write('\n'); }while(0)
|
79
|
|
-#define SERIAL_PROTOCOLLNPGM(x) do{ serialprintPGM(PSTR(x)),MYSERIAL.write('\n'); }while(0)
|
|
78
|
+#define SERIAL_PROTOCOLLN(x) do{ MYSERIAL.print(x); SERIAL_EOL; }while(0)
|
|
79
|
+#define SERIAL_PROTOCOLLNPGM(x) do{ serialprintPGM(PSTR(x)); SERIAL_EOL; }while(0)
|
80
|
80
|
|
81
|
81
|
|
82
|
82
|
extern const char errormagic[] PROGMEM;
|