diff --git a/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp b/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp index df3faaa50f..7496c9e9b5 100644 --- a/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp +++ b/Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp @@ -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