Browse Source

Debug char

pull/1/head
Scott Lahteine 8 years ago
parent
commit
21ee0612e3
  1. 1
      Marlin/Marlin.h
  2. 1
      Marlin/Marlin_main.cpp

1
Marlin/Marlin.h

@ -105,6 +105,7 @@ extern const char echomagic[] PROGMEM;
#define SERIAL_ECHOPAIR(name,value) (serial_echopair_P(PSTR(name),(value)))
void serial_echopair_P(const char* s_P, char v);
void serial_echopair_P(const char* s_P, int v);
void serial_echopair_P(const char* s_P, long v);
void serial_echopair_P(const char* s_P, float v);

1
Marlin/Marlin_main.cpp

@ -572,6 +572,7 @@ void prepare_move_to_destination();
void plan_cubic_move(const float offset[4]);
#endif
void serial_echopair_P(const char* s_P, char v) { serialprintPGM(s_P); SERIAL_CHAR(v); }
void serial_echopair_P(const char* s_P, int v) { serialprintPGM(s_P); SERIAL_ECHO(v); }
void serial_echopair_P(const char* s_P, long v) { serialprintPGM(s_P); SERIAL_ECHO(v); }
void serial_echopair_P(const char* s_P, float v) { serialprintPGM(s_P); SERIAL_ECHO(v); }

Loading…
Cancel
Save