Merge pull request #3929 from thinkyhead/rc_fix_printrboard_dac
Need to call dac_init() in setup() for DAC_STEPPER_CURRENT
This commit is contained in:
commit
bc77670673
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue