Browse Source

make motor_current_setting static and constexpr

pull/1/head
Scott Lahteine 8 years ago
parent
commit
117db77c55
  1. 2
      Marlin/stepper.h

2
Marlin/stepper.h

@ -134,7 +134,7 @@ class Stepper {
#ifndef PWM_MOTOR_CURRENT
#define PWM_MOTOR_CURRENT DEFAULT_PWM_MOTOR_CURRENT
#endif
const int motor_current_setting[3] = PWM_MOTOR_CURRENT;
static constexpr int motor_current_setting[3] = PWM_MOTOR_CURRENT;
#endif
//

Loading…
Cancel
Save