MarlinFirmware / MarlinDocumentation

Marlin Firmware Documentation Project
https://marlinfw.org
GNU General Public License v3.0
366 stars 764 forks source link

Update G042.md with P bool command #553

Open classicrocker883 opened 2 months ago

classicrocker883 commented 2 months ago

G42 has this code

    #if HAS_PROBE_XY_OFFSET
      if (parser.boolval('P')) {
        if (hasI) destination.x -= probe.offset_xy.x;
        if (hasJ) destination.y -= probe.offset_xy.y;
      }
    #endif

so this documentation should be updated to include this bool type parameter.