🧑‍💻 Use FLT_MAX for HUGE_VALF

This commit is contained in:
Scott Lahteine 2023-11-05 21:30:04 -06:00
parent 0bdbf52bc6
commit 3341683db2

View file

@ -788,7 +788,7 @@ void unified_bed_leveling::shift_mesh_height() {
#endif
#ifndef HUGE_VALF
#define HUGE_VALF (10e100F)
#define HUGE_VALF FLT_MAX
#endif
best = do_furthest // Points with valid data or HUGE_VALF are skipped