Skip to content

Commit

Permalink
Fix EEPROM errors with EXTRUDERS == 0 (MarlinFirmware#16898)
Browse files Browse the repository at this point in the history
  • Loading branch information
vector76 authored Feb 21, 2020
1 parent f308975 commit e1d367e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/module/configuration_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1d367e

Please sign in to comment.