chiark / gitweb /
HOMEAXIS: make into a function
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 8 Aug 2012 17:30:34 +0000 (18:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 9 Aug 2012 18:11:16 +0000 (19:11 +0100)
commit2bb979c95c3b6cef4b98899f231d19527e725dda
tree0decc7c1e59075f6cb5577574384824fb2616c3d
parent9664e099a404f0c5797299e72c55fb5b97dbc066
HOMEAXIS: make into a function

Replace the large macro HOMEAXIS with a function.  This avoids the
compiler generating three copies of largely identical code.  The
saving is 714 bytes of program memory.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Marlin/Marlin.pde