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

Add "static"
master
Bob-the-Kuhn 8 years ago committed by GitHub
commit 76a610cf81

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

Loading…
Cancel
Save