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
 
88
 
89
 #define SERIAL_ECHOPAIR(name,value) do{ serial_echopair_P(PSTR(name),(value)); }while(0)
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
 void serial_echopair_P(const char *s_P, float v);
93
 void serial_echopair_P(const char *s_P, float v);
92
 void serial_echopair_P(const char *s_P, double v);
94
 void serial_echopair_P(const char *s_P, double v);
93
 void serial_echopair_P(const char *s_P, unsigned long v);
95
 void serial_echopair_P(const char *s_P, unsigned long v);

+ 2
- 0
Marlin/Marlin_main.cpp View File

418
 
418
 
419
 bool setTargetedHotend(int code);
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
 void serial_echopair_P(const char *s_P, float v)         { serialprintPGM(s_P); SERIAL_ECHO(v); }
423
 void serial_echopair_P(const char *s_P, float v)         { serialprintPGM(s_P); SERIAL_ECHO(v); }
422
 void serial_echopair_P(const char *s_P, double v)        { serialprintPGM(s_P); SERIAL_ECHO(v); }
424
 void serial_echopair_P(const char *s_P, double v)        { serialprintPGM(s_P); SERIAL_ECHO(v); }
423
 void serial_echopair_P(const char *s_P, unsigned long v) { serialprintPGM(s_P); SERIAL_ECHO(v); }
425
 void serial_echopair_P(const char *s_P, unsigned long v) { serialprintPGM(s_P); SERIAL_ECHO(v); }

Loading…
Cancel
Save