Merge pull request #6995 from Bob-the-Kuhn/add-static

Add "static"
This commit is contained in:
Bob-the-Kuhn 2017-06-08 15:01:00 -05:00 committed by GitHub
commit 76a610cf81

View File

@ -1499,7 +1499,7 @@ static void set_axis_is_at_home(const AxisEnum axis) {
* Some planner shorthand inline functions
*/
inline float get_homing_bump_feedrate(const AxisEnum axis) {
const uint8_t homing_bump_divisor[] PROGMEM = HOMING_BUMP_DIVISOR;
static const uint8_t homing_bump_divisor[] PROGMEM = HOMING_BUMP_DIVISOR;
uint8_t hbd = pgm_read_byte(&homing_bump_divisor[axis]);
if (hbd < 1) {
hbd = 10;