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>
Wed, 8 Aug 2012 17:56:52 +0000 (18:56 +0100)
commit48f1b27f67cb5a1b59e72d4ab9c5bfe05c88870d
treed4c7ea1a64c2179833d726dac6e9a76d170ff23b
parentbbde4ea454248ef02e59183cab6992c5d4331d8c
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