🧑💻 Use __FLT_MAX__ for HUGE_VALF
This commit is contained in:
parent
9a6c2635ee
commit
bf5612c0ed
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue