From 3b747a3907208b81b65062c4a2510a031fbdc591 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 9 Aug 2012 19:04:36 +0100 Subject: [PATCH] refresh (create temporary patch) --- meta | 5 +++-- patches/refresh-temp | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 patches/refresh-temp diff --git a/meta b/meta index b21ec2d..ca452d7 100644 --- a/meta +++ b/meta @@ -1,6 +1,6 @@ Version: 1 -Previous: 0b8badaae91f6b125ac6f094ae961146741f1bf3 -Head: 198972f885a18d76b2dbcf7e38bf3839c8a3658a +Previous: 7b3fb7629e2e86c36ffd4afe005e19e384745077 +Head: 2b09e555095538703fbe843eeb06448d34e67cbc Applied: marlin-pde-include-comment-for: 121f976406e6921f5b511f6dc4882985cf4b4133 add-to-marlin-gitignore: 6a0fad50983c4fb5b60173ae96a6eb96ae9d4976 @@ -8,6 +8,7 @@ Applied: makefile-avr-size: e7ca49239c134da3660d80b1005a9564672d6c6b motion-control-max-min: 91d59adf663163ca1d6a8795fc22cfc5c9902dfe m206-always-use-homing-homeing: 198972f885a18d76b2dbcf7e38bf3839c8a3658a + refresh-temp: 2b09e555095538703fbe843eeb06448d34e67cbc Unapplied: eeprom-provide-smaller-code-fo: 908bebda77f754b762a36f96bc7d938aca4935ba m206-save-values-in-eeprom: bbde4ea454248ef02e59183cab6992c5d4331d8c diff --git a/patches/refresh-temp b/patches/refresh-temp new file mode 100644 index 0000000..a499a4f --- /dev/null +++ b/patches/refresh-temp @@ -0,0 +1,26 @@ +Bottom: 8eb77e3bc2adc097741bd8387c5a66999ef1e334 +Top: c2feea4afd56caea863e82cd486423f93f510614 +Author: Ian Jackson +Date: 2012-08-09 19:04:35 +0100 + +Refresh of m206-always-use-homing-homeing + +--- + +diff --git a/Marlin/Marlin.pde b/Marlin/Marlin.pde +index e9ebd5c..be91124 100644 +--- a/Marlin/Marlin.pde ++++ b/Marlin/Marlin.pde +@@ -545,9 +545,9 @@ bool code_seen(char code) + return (strchr_pointer != NULL); //Return True if a character was found + } + +-static const float base_min_pos[3] = { X_MIN_POS, Y_MIN_POS, Z_MIN_POS }; +-static const float base_max_pos[3] = { X_MAX_POS, Y_MAX_POS, Z_MAX_POS }; +-static const float base_home_pos[3] = { X_HOME_POS, Y_HOME_POS, Z_HOME_POS }; ++static const PROGMEM float base_min_pos[3] = { X_MIN_POS, Y_MIN_POS, Z_MIN_POS }; ++static const PROGMEM float base_max_pos[3] = { X_MAX_POS, Y_MAX_POS, Z_MAX_POS }; ++static const PROGMEM float base_home_pos[3] = { X_HOME_POS, Y_HOME_POS, Z_HOME_POS }; + + static void axis_is_at_home(int axis) { + current_position[axis] = base_home_pos[axis] + add_homeing[axis]; -- 2.30.2