Browse Source

serial_echopair_P for uint16_t

Scott Lahteine 9 years ago
parent
commit
e4816293a8
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/Marlin.h

+ 1
- 0
Marlin/Marlin.h View File

@@ -114,6 +114,7 @@ void serial_echopair_P(const char* s_P, long v);
114 114
 void serial_echopair_P(const char* s_P, float v);
115 115
 void serial_echopair_P(const char* s_P, double v);
116 116
 void serial_echopair_P(const char* s_P, unsigned long v);
117
+FORCE_INLINE void serial_echopair_P(const char* s_P, uint16_t v) { serial_echopair_P(s_P, (int)v); }
117 118
 FORCE_INLINE void serial_echopair_P(const char* s_P, bool v) { serial_echopair_P(s_P, (int)v); }
118 119
 FORCE_INLINE void serial_echopair_P(const char* s_P, void *v) { serial_echopair_P(s_P, (unsigned long)v); }
119 120
 

Loading…
Cancel
Save