Reduce math library code size by 3.4KB (#21575)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2021-04-12 16:49:53 -05:00
1 parent 1742fb8655
commit 24a095c5c1
35 files changed
+141 -145

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ void GcodeSuite::G30() {
const ProbePtRaise raise_after = parser.boolval('E', true) ? PROBE_PT_STOW : PROBE_PT_NONE;
const float measured_z = probe.probe_at_point(pos, raise_after, 1);
if (!isnan(measured_z))
if (!ISNAN(measured_z))
SERIAL_ECHOLNPAIR("Bed X: ", pos.x, " Y: ", pos.y, " Z: ", measured_z);
restore_feedrate_and_scaling();