Modify UBL mesh_is_valid and use in leveling_is_valid (#10746)

This commit is contained in:
Scott Lahteine
2018-05-14 22:36:03 -05:00
committed by GitHub
parent b7dfc79988
commit eb2eb72720
3 changed files with 9 additions and 14 deletions

View File

@ -96,8 +96,9 @@ void GcodeSuite::M420() {
// L or V display the map info
if (parser.seen('L') || parser.seen('V')) {
ubl.display_map(parser.byteval('T'));
SERIAL_ECHOLNPAIR("ubl.mesh_is_valid = ", ubl.mesh_is_valid());
SERIAL_ECHOLNPAIR("ubl.storage_slot = ", ubl.storage_slot);
SERIAL_ECHOPGM("Mesh is ");
if (!ubl.mesh_is_valid()) SERIAL_ECHOPGM("in");
SERIAL_ECHOLNPAIR("valid\nStorage slot: ", ubl.storage_slot);
}
#endif // AUTO_BED_LEVELING_UBL