瀏覽代碼

serial_echopair_P for uint16_t

Scott Lahteine 9 年之前
父節點
當前提交
e4816293a8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      Marlin/Marlin.h

+ 1
- 0
Marlin/Marlin.h 查看文件

@@ -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…
取消
儲存