Expose motor current in more configs, disable by default

This commit is contained in:
Scott Lahteine
2016-03-11 02:24:22 -08:00
parent e8b10d2836
commit 0c48eaf3de
16 changed files with 45 additions and 3 deletions

View File

@ -91,7 +91,7 @@ static volatile char endstop_hit_bits = 0; // use X_MIN, Y_MIN, Z_MIN and Z_MIN_
#ifndef PWM_MOTOR_CURRENT
#define PWM_MOTOR_CURRENT DEFAULT_PWM_MOTOR_CURRENT
#endif
int motor_current_setting[3] = PWM_MOTOR_CURRENT;
const int motor_current_setting[3] = PWM_MOTOR_CURRENT;
#endif
static bool check_endstops = true;