Move MBL functions into the class
This commit is contained in:
@ -100,7 +100,7 @@ void GcodeSuite::M420() {
|
||||
#endif
|
||||
#elif ENABLED(MESH_BED_LEVELING)
|
||||
SERIAL_ECHOLNPGM("Mesh Bed Level data:");
|
||||
mbl_mesh_report();
|
||||
mbl.report_mesh();
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
@ -81,7 +81,7 @@ void GcodeSuite::G29() {
|
||||
case MeshReport:
|
||||
if (leveling_is_valid()) {
|
||||
SERIAL_PROTOCOLLNPAIR("State: ", planner.leveling_active ? MSG_ON : MSG_OFF);
|
||||
mbl_mesh_report();
|
||||
mbl.report_mesh();
|
||||
}
|
||||
else
|
||||
SERIAL_PROTOCOLLNPGM("Mesh bed leveling has no data.");
|
||||
|
Reference in New Issue
Block a user