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 19:14:33 +0000 (20:14 +0100)
commit656f93b5d2604b6c81d80dea3f7f9a5d23d0dd5a
treefa16ca3345dfe76c421399a5a8cf3be7cb1b42ff
parente8dc1bb8684120aa0cd81ed49eb995d25ef674a7
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