🧑‍💻 Use __FLT_MAX__ for HUGE_VALF

This commit is contained in:
Scott Lahteine 2023-11-09 16:05:11 -06:00
parent 9a6c2635ee
commit bf5612c0ed

View file

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