🧑💻 Use FLT_MAX for HUGE_VALF
This commit is contained in:
parent
0bdbf52bc6
commit
3341683db2
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue