repetier/Repetier-Firmware — pull request #154 by edwardhughes (2013-09-06 12:47:42+00:00)
Title: Fix M251 command for Deltas by including reset of X and Y axes, not only Z.

Users had been reporting crashes after using this command, and were able to confirm from the EEPROM values that only the Z-maximum was being (re)set.

The changes also include some logic to restrict the use of this command to the exact center of the print area, i.e., it dis-allows any X or Y movement, printing a message to the user to correct the position.

It has been tested and verified to work correctly.