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

This commit is contained in:
Jamie 2020-02-21 07:42:13 -06:00 committed by GitHub
parent f30897500d
commit e1d367e05a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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