mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-28 22:35:21 +00:00
Need to call dac_init() in setup() for DAC_STEPPER_CURRENT
As reported by https://github.com/MarlinFirmware/Marlin/pull/3182#issuecomment-222595488
This commit is contained in:
parent
c3df293fc6
commit
55ef04a566
@ -856,6 +856,10 @@ void setup() {
|
|||||||
digipot_i2c_init();
|
digipot_i2c_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if ENABLED(DAC_STEPPER_CURRENT)
|
||||||
|
dac_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLED(Z_PROBE_SLED)
|
#if ENABLED(Z_PROBE_SLED)
|
||||||
pinMode(SLED_PIN, OUTPUT);
|
pinMode(SLED_PIN, OUTPUT);
|
||||||
digitalWrite(SLED_PIN, LOW); // turn it off
|
digitalWrite(SLED_PIN, LOW); // turn it off
|
||||||
|
Loading…
Reference in New Issue
Block a user