add static

This commit is contained in:
Bob-the-Kuhn 2017-06-08 14:59:21 -05:00
parent a17ffe1ece
commit 8d1d9040b6

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;