Fix EEPROM errors with EXTRUDERS == 0 (#16898)

2.0.x
Jamie 5 years ago committed by GitHub
parent f30897500d
commit e1d367e05a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -323,7 +323,7 @@ typedef struct SettingsDataStruct {
//
// LIN_ADVANCE
//
float planner_extruder_advance_K[EXTRUDERS]; // M900 K planner.extruder_advance_K
float planner_extruder_advance_K[_MAX(EXTRUDERS, 1)]; // M900 K planner.extruder_advance_K
//
// HAS_MOTOR_CURRENT_PWM

Loading…
Cancel
Save