; bed.g ; called to perform automatic bed compensation via G32 if !move.axes[0].homed || !move.axes[1].homed || !move.axes[2].homed G28 ; Home all if needed G29 S2 ; clear heatmap M561 ; clear any bed transform G29 ; probe the bed and enable compensation G1 X150 Y150 F10000