MarlinFirmware / MarlinDocumentation

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

Update G042.md with P bool command #553

Closed classicrocker883 closed 3 months ago

classicrocker883 commented 6 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.