mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 20:18:52 +00:00
add static
This commit is contained in:
parent
a17ffe1ece
commit
8d1d9040b6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user