Replace 'const float &' with 'const_float_t' (#21505)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2021-04-01 17:59:57 -05:00
1 parent 600ef1e47c
commit 62f37669dc
79 files changed
+376 -366

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@
#if ENABLED(BABYSTEP_ZPROBE_OFFSET)
FORCE_INLINE void mod_probe_offset(const float &offs) {
FORCE_INLINE void mod_probe_offset(const_float_t offs) {
if (TERN1(BABYSTEP_HOTEND_Z_OFFSET, active_extruder == 0)) {
probe.offset.z += offs;
SERIAL_ECHO_MSG(STR_PROBE_OFFSET " " STR_Z, probe.offset.z);