Skip to content

Commit

Permalink
Add missing write-only registers to 2209::push
Browse files Browse the repository at this point in the history
  • Loading branch information
teemuatlut committed Jul 27, 2021
1 parent 3c76f77 commit 2e7624e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/source/TMC2209Stepper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ void TMC2209Stepper::push() {
CHOPCONF(CHOPCONF_register.sr);
PWMCONF(PWMCONF_register.sr);
TCOOLTHRS(TCOOLTHRS_register.sr);
SGTHRS(SGTHRS_register.sr);
COOLCONF(COOLCONF_register.sr);
}

void TMC2209Stepper::SGTHRS(uint8_t input) {
Expand Down

0 comments on commit 2e7624e

Please sign in to comment.