chiark / gitweb /
eeprom: provide smaller code for SERIAL_ECHOPAIR
[marlin.git] / Marlin / Marlin.pde
index d11b51c7c9cf14d6b79db12fbcd176247d3ab951..22e3e64ed822101176bda32a4fcd3b2688704132 100644 (file)
@@ -203,6 +203,13 @@ bool Stopped=false;
 
 void get_arc_coordinates();
 
+void serial_echopair_P(const char *s_P, float v)
+    { serialprintPGM(s_P); SERIAL_ECHO(v); }
+void serial_echopair_P(const char *s_P, double v)
+    { serialprintPGM(s_P); SERIAL_ECHO(v); }
+void serial_echopair_P(const char *s_P, unsigned long v)
+    { serialprintPGM(s_P); SERIAL_ECHO(v); }
+
 extern "C"{
   extern unsigned int __bss_end;
   extern unsigned int __heap_start;