Skip to content

Commit

Permalink
G80 O parameter
Browse files Browse the repository at this point in the history
a
  • Loading branch information
leptun committed May 8, 2023
1 parent d074a01 commit 2e6c0d9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Firmware/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3046,7 +3046,13 @@ static void gcode_G80()
}

mbl.active = 1; //activate mesh bed leveling
go_home_with_z_lift();

if (code_seen('O') && !code_value_uint8()) {
// Don't let the manage_inactivity() function remove power from the motors.
refresh_cmd_timeout();
} else {
go_home_with_z_lift();
}

//unretract (after PINDA preheat retraction)
if (((int)degHotend(active_extruder) > extrude_min_temp) && eeprom_read_byte((unsigned char *)EEPROM_TEMP_CAL_ACTIVE) && calibration_status_pinda() && (target_temperature_bed >= 50)) {
Expand Down Expand Up @@ -4845,6 +4851,7 @@ void process_commands()
#### Parameters
- `N` - Number of mesh points on x axis. Default is 3. Valid values are 3 and 7.
- `R` - Probe retries. Default 3 max. 10
- `O` - Return to origin. Default 1 (true)
Using the following parameters enables additional "manual" bed leveling correction. Valid values are -100 microns to 100 microns.
#### Additional Parameters
Expand Down

0 comments on commit 2e6c0d9

Please sign in to comment.