From: Ian Jackson Date: Wed, 8 Aug 2012 17:00:35 +0000 (+0100) Subject: refresh X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=64cc07a220cd0bdcd0dfd1d31df3641278f3c482;p=marlin.git refresh --- diff --git a/meta b/meta index b61b255..93533d0 100644 --- a/meta +++ b/meta @@ -1,13 +1,12 @@ Version: 1 -Previous: 1aa94da2cc86f1cf24882c13c6e3205a398dc129 -Head: 36af52ea7234a6847c73e22f559bd2d7dddccf24 +Previous: 6e8f69e5f3bcb544dace240e1c7d5abf08964cb5 +Head: 903e2fa63f1dee6b029b76bb6749d412c1cc3219 Applied: marlin-pde-include-comment-for: 2449e9fec7791468f9221832c67d6d0327818a6b makefile-support-v-1: e5bcc15b1d07b2f3a237ce92d6c0a4071e2d73e7 m206-always-use-homing-homeing: 1bd54c199294003feab6949f597ef39244ebdd3e enable-eeprom-settings: 6262925a78fd736d9e22304c84d3dbb9f923ac96 - eeprom-provide-smaller-code-fo: d2c775804184f5ac3990b1fdfecf67cc88f8f7ef - refresh-temp: 36af52ea7234a6847c73e22f559bd2d7dddccf24 + eeprom-provide-smaller-code-fo: 903e2fa63f1dee6b029b76bb6749d412c1cc3219 Unapplied: m206-save-values-in-eeprom: a7ff3675bdb6149f684e0e3a15c1a594ea2db815 Hidden: diff --git a/patches/eeprom-provide-smaller-code-fo b/patches/eeprom-provide-smaller-code-fo index 204037f..f861720 100644 --- a/patches/eeprom-provide-smaller-code-fo +++ b/patches/eeprom-provide-smaller-code-fo @@ -3,20 +3,15 @@ Top: e801707aef83979bce33278501a19bbc200940b9 Author: Ian Jackson Date: 2012-08-04 16:13:25 +0100 -eeprom: provide smaller code for SERIAL_ECHOPAIR_DOUBLE +eeprom: provide smaller code for SERIAL_ECHOPAIR SERIAL_ECHOPAIR implies, eventually, two calls to MYSERIAL.print. One of these has FORCE_INLINE for a per-character loop, and both involve constructing a method call rather than a simple function call. -Produce better and smaller code by providing SERIAL_ECHOPAIR_DOUBLE -which is a typechecking syntactic wrapper around a new function -serial_echopair_double. This saves XXXX bytes of program memory. - -It would arguably be nice to do this in general for each of the calls -to SERIAL_ECHOPAIR in EEPROM_printSettings. But actually I think a -better approach would be a table-driving settings printer, so we'll -have this incremental improvement for now. +Produce better and smaller code by providing three specialised +functions serial_echopair. This saves 672 bytes of program memory +(with EEPROM_SETTINGS enabled). Signed-off-by: Ian Jackson diff --git a/patches/refresh-temp b/patches/refresh-temp deleted file mode 100644 index f6c85f2..0000000 --- a/patches/refresh-temp +++ /dev/null @@ -1,10 +0,0 @@ -Bottom: e801707aef83979bce33278501a19bbc200940b9 -Top: e801707aef83979bce33278501a19bbc200940b9 -Author: Ian Jackson -Date: 2012-08-08 17:59:40 +0100 - -Refresh of eeprom-provide-smaller-code-fo - ---- - -