Flags for MarlinSerial instance features (#21318)

This commit is contained in:
X-Ryl669 authored and GitHub committed 2021-03-29 21:36:01 -05:00
1 parent 3f7cd45df4
commit 139c149486
8 files changed
+127 -37

No files matched your search

+1 -1
View File
@@ -146,7 +146,7 @@ inline void SERIAL_ECHO(serial_char_t x) { SERIAL_IMPL.write(x.c); }
#define AS_CHAR(C) serial_char_t(C)
// SERIAL_ECHO_F prints a floating point value with optional precision
inline void SERIAL_ECHO_F(EnsureDouble x, int digit = 2) { SERIAL_IMPL.print(x, digit); }
inline void SERIAL_ECHO_F(EnsureDouble x, int digit=2) { SERIAL_IMPL.print(x, digit); }
template <typename T>
void SERIAL_ECHOLN(T x) { SERIAL_IMPL.println(x); }