Browse Source

Debug char

Scott Lahteine 9 years ago
parent
commit
21ee0612e3
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      Marlin/Marlin.h
  2. 1
    0
      Marlin/Marlin_main.cpp

+ 1
- 0
Marlin/Marlin.h View File

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

+ 1
- 0
Marlin/Marlin_main.cpp View File

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

Loading…
Cancel
Save