Browse Source

Need to call dac_init() in setup() for DAC_STEPPER_CURRENT

As reported by https://github.com/MarlinFirmware/Marlin/pull/3182#issuecomment-222595488
pull/1/head
Scott Lahteine 9 years ago
parent
commit
55ef04a566
  1. 4
      Marlin/Marlin_main.cpp

4
Marlin/Marlin_main.cpp

@ -856,6 +856,10 @@ void setup() {
digipot_i2c_init();
#endif
#if ENABLED(DAC_STEPPER_CURRENT)
dac_init();
#endif
#if ENABLED(Z_PROBE_SLED)
pinMode(SLED_PIN, OUTPUT);
digitalWrite(SLED_PIN, LOW); // turn it off

Loading…
Cancel
Save