From ea9eb2fc8fa8a5b5e3349ef9e11543765f6b3bfd Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 21 Sep 2018 15:20:14 -0400 Subject: [PATCH] Fix servo angles in config-store --- Marlin/src/module/configuration_store.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/module/configuration_store.cpp b/Marlin/src/module/configuration_store.cpp index d07479ebf3..10c0b66962 100644 --- a/Marlin/src/module/configuration_store.cpp +++ b/Marlin/src/module/configuration_store.cpp @@ -558,9 +558,9 @@ void MarlinSettings::postprocess() { #endif constexpr uint16_t servo_angles[NUM_SERVO_PLUGS][2] = { #if ENABLED(SWITCHING_EXTRUDER) - [SWITCHING_EXTRUDER_SERVO_NR] = { sesa[0], sesa[1] } + [SWITCHING_EXTRUDER_SERVO_NR] = { sesa[0][0], sesa[0][1] } #if EXTRUDERS > 3 - , [SWITCHING_EXTRUDER_E23_SERVO_NR] = { sesa[2], sesa[3] } + , [SWITCHING_EXTRUDER_E23_SERVO_NR] = { sesa[1][0], sesa[1][1] } #endif #elif ENABLED(SWITCHING_NOZZLE) [SWITCHING_NOZZLE_SERVO_NR] = SWITCHING_NOZZLE_SERVO_ANGLES