From: Ian Jackson Date: Thu, 9 Aug 2012 18:04:35 +0000 (+0100) Subject: Refresh of m206-always-use-homing-homeing X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2b09e555095538703fbe843eeb06448d34e67cbc;p=marlin.git 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];