From 5cbed13f4174f6922dd6a9f6b13ac2bd18c1120a Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 20 Sep 2016 15:57:48 -0500 Subject: [PATCH] 'constexpr' => 'const' for PWM_MOTOR_CURRENT --- Marlin/stepper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/stepper.h b/Marlin/stepper.h index b0f0779ea..282690348 100644 --- a/Marlin/stepper.h +++ b/Marlin/stepper.h @@ -140,7 +140,7 @@ class Stepper { #ifndef PWM_MOTOR_CURRENT #define PWM_MOTOR_CURRENT DEFAULT_PWM_MOTOR_CURRENT #endif - static constexpr int motor_current_setting[3] = PWM_MOTOR_CURRENT; + static const int motor_current_setting[3] = PWM_MOTOR_CURRENT; #endif // @@ -384,4 +384,4 @@ class Stepper { }; -#endif // STEPPER_H \ No newline at end of file +#endif // STEPPER_H