🧑💻 Use __FLT_MAX__ for HUGE_VALF
This commit is contained in:
@@ -788,7 +788,7 @@ void unified_bed_leveling::shift_mesh_height() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HUGE_VALF
|
#ifndef HUGE_VALF
|
||||||
#define HUGE_VALF FLT_MAX
|
#define HUGE_VALF __FLT_MAX__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
best = do_furthest // Points with valid data or HUGE_VALF are skipped
|
best = do_furthest // Points with valid data or HUGE_VALF are skipped
|
||||||
|
Reference in New Issue
Block a user