Move MBL functions into the class

This commit is contained in:
Scott Lahteine
2018-01-06 20:50:21 -06:00
parent 95065791b3
commit 86818c9a89
5 changed files with 24 additions and 27 deletions

View File

@ -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

View File

@ -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.");