MCPcopy Create free account
hub / github.com/MarlinFirmware/Marlin / SERIAL_ECHO

Function SERIAL_ECHO

Marlin/src/core/serial.cpp:75–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74// Specializations for float, p_float_t, w_float_t
75template <> void SERIAL_ECHO(const float f) { SERIAL_IMPL.print(f, SERIAL_FLOAT_PRECISION); }
76template <> void SERIAL_ECHO(const p_float_t pf) { SERIAL_IMPL.print(pf.value, pf.prec); }
77template <> void SERIAL_ECHO(const w_float_t wf) { char f1[20]; SERIAL_IMPL.print(dtostrf(wf.value, wf.width, wf.prec, f1)); }
78

Callers 8

SERIAL_ECHO_STARTFunction · 0.70
SERIAL_ERROR_STARTFunction · 0.70
SERIAL_WARN_STARTFunction · 0.70
serial_offsetFunction · 0.70
serial_ternaryFunction · 0.70
_print_xyzFunction · 0.70
print_xyzFunction · 0.70
print_xyzeFunction · 0.70

Calls 4

SERIAL_ECHO_PFunction · 0.85
dtostrfFunction · 0.50
printMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected