chiark / gitweb /
new
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 8 Aug 2012 17:30:35 +0000 (18:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 8 Aug 2012 17:30:35 +0000 (18:30 +0100)
meta
patches/homeaxis-function [new file with mode: 0644]

diff --git a/meta b/meta
index 061e4423a4cebcd737dec32a4e44506c495dcdc5..2b2f4178942ef2c01474599de124c0c5c0533aa1 100644 (file)
--- 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 (file)
index 0000000..30a15f6
--- /dev/null
@@ -0,0 +1,17 @@
+Bottom: ffe11a8d2887176ceac196c769ae6a84b2f279c3
+Top:    ffe11a8d2887176ceac196c769ae6a84b2f279c3
+Author: Ian Jackson <ijackson@chiark.greenend.org.uk>
+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 <ijackson@chiark.greenend.org.uk>
+
+
+---
+
+