mbl.active is a bool now

This commit is contained in:
Scott Lahteine
2016-04-13 01:25:17 -07:00
parent b05f448317
commit 0493fccc0b
4 changed files with 5 additions and 5 deletions

View File

@ -2465,7 +2465,7 @@ inline void gcode_G28() {
*/
#if ENABLED(MESH_BED_LEVELING)
uint8_t mbl_was_active = mbl.active;
mbl.active = 0;
mbl.active = false;
#endif
setup_for_endstop_move();
@ -2896,7 +2896,7 @@ inline void gcode_G28() {
// After recording the last point, activate the mbl and home
SERIAL_PROTOCOLLNPGM("Mesh probing done.");
probe_point = -1;
mbl.active = 1;
mbl.active = true;
enqueue_and_echo_commands_P(PSTR("G28"));
}
break;