Skip to content

Commit

Permalink
tmc5160: csactual -> cs_actual
Browse files Browse the repository at this point in the history
Correct the name of "cs_actual" and correct the size on tmc5160.

Signed-off-by: Timofey Titovets <[email protected]>
Signed-off-by: Kevin O'Connor <[email protected]>
  • Loading branch information
nefelim4ag authored and KevinOConnor committed May 22, 2024
1 parent 4a92727 commit b6a0063
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion klippy/extras/tmc2240.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"s2vsb": 0x01 << 13,
"stealth": 0x01 << 14,
"fsactive": 0x01 << 15,
"csactual": 0x1F << 16,
"cs_actual": 0x1F << 16,
"stallguard": 0x01 << 24,
"ot": 0x01 << 25,
"otpw": 0x01 << 26,
Expand Down
2 changes: 1 addition & 1 deletion klippy/extras/tmc5160.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"s2vsb": 0x01 << 13,
"stealth": 0x01 << 14,
"fsactive": 0x01 << 15,
"csactual": 0xFF << 16,
"cs_actual": 0x1F << 16,
"stallguard": 0x01 << 24,
"ot": 0x01 << 25,
"otpw": 0x01 << 26,
Expand Down

0 comments on commit b6a0063

Please sign in to comment.