Browse Source

There is an echo in here

Richard Wackerbarth 9 years ago
parent
commit
a401d738df
2 changed files with 4 additions and 0 deletions
  1. 2
    0
      Marlin/Marlin.h
  2. 2
    0
      Marlin/Marlin_main.cpp

+ 2
- 0
Marlin/Marlin.h View File

@@ -88,6 +88,8 @@ extern const char echomagic[] PROGMEM;
88 88
 
89 89
 #define SERIAL_ECHOPAIR(name,value) do{ serial_echopair_P(PSTR(name),(value)); }while(0)
90 90
 
91
+void serial_echopair_P(const char *s_P, int v);
92
+void serial_echopair_P(const char *s_P, long v);
91 93
 void serial_echopair_P(const char *s_P, float v);
92 94
 void serial_echopair_P(const char *s_P, double v);
93 95
 void serial_echopair_P(const char *s_P, unsigned long v);

+ 2
- 0
Marlin/Marlin_main.cpp View File

@@ -418,6 +418,8 @@ void plan_arc(float target[NUM_AXIS], float *offset, uint8_t clockwise);
418 418
 
419 419
 bool setTargetedHotend(int code);
420 420
 
421
+void serial_echopair_P(const char *s_P, int v)           { serialprintPGM(s_P); SERIAL_ECHO(v); }
422
+void serial_echopair_P(const char *s_P, long v)          { serialprintPGM(s_P); SERIAL_ECHO(v); }
421 423
 void serial_echopair_P(const char *s_P, float v)         { serialprintPGM(s_P); SERIAL_ECHO(v); }
422 424
 void serial_echopair_P(const char *s_P, double v)        { serialprintPGM(s_P); SERIAL_ECHO(v); }
423 425
 void serial_echopair_P(const char *s_P, unsigned long v) { serialprintPGM(s_P); SERIAL_ECHO(v); }

Loading…
Cancel
Save