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>
Fri, 10 Aug 2012 16:20:44 +0000 (17:20 +0100)
commit3455f9baf8039a65591e71254a0926e3c44dfe0a
tree8b7597d0f1ac793cc0fe323614e4d4e5fabead5b
parent0fbea35eb16f424788f2eb30d8a49dd3808f7a73
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 704 bytes of program memory.

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