From c30896a3f3d4ad5f6bb3fd1003bec46a65b93fb0 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 8 Aug 2012 18:30:35 +0100 Subject: [PATCH] new --- meta | 5 +++-- patches/homeaxis-function | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 patches/homeaxis-function diff --git a/meta b/meta index 061e442..2b2f417 100644 --- a/meta +++ b/meta @@ -1,6 +1,6 @@ Version: 1 -Previous: 3b3de723650b6443793e8d8478826958f35c3514 -Head: 08adf5f78117d343e4eb530a1689f8769fccf561 +Previous: 1b5ffcd29ee8ebf67952a5ef07b7547769c7a07c +Head: d80fe23d733598d6aada5546ee80295d6958677f Applied: enable-eeprom-settings: d8e404a6e1984efdaa7ede947fed09a0bcf9051c marlin-pde-include-comment-for: a3514f7d682a6a223f2a575320d8961454a5a283 @@ -8,5 +8,6 @@ Applied: m206-always-use-homing-homeing: 8cd6471ee9f073ce9d19530378897b1119fe81c4 eeprom-provide-smaller-code-fo: 85314a21d1ae69b77c6f0ec606b9a178816c46d8 m206-save-values-in-eeprom: 08adf5f78117d343e4eb530a1689f8769fccf561 + homeaxis-function: d80fe23d733598d6aada5546ee80295d6958677f Unapplied: Hidden: diff --git a/patches/homeaxis-function b/patches/homeaxis-function new file mode 100644 index 0000000..30a15f6 --- /dev/null +++ b/patches/homeaxis-function @@ -0,0 +1,17 @@ +Bottom: ffe11a8d2887176ceac196c769ae6a84b2f279c3 +Top: ffe11a8d2887176ceac196c769ae6a84b2f279c3 +Author: Ian Jackson +Date: 2012-08-08 18:30:34 +0100 + +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 + + +--- + + -- 2.30.2