Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau committed Oct 4, 2024
1 parent 144d9bd commit 5b80425
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ class TMC2160Interface {
return RT(retval);
}

auto read_stallguard(MotorID motor_id)
-> uint32_t {
MessageT stallguard_msg = {static_cast<uint8_t>(Registers::DRVSTATUS), 0x00, 0x00, 0x00, 0x00};
auto read_stallguard(MotorID motor_id) -> uint32_t {
MessageT stallguard_msg = {static_cast<uint8_t>(Registers::DRVSTATUS),
0x00, 0x00, 0x00, 0x00};
auto ret = _policy.tmc2160_transmit_receive(motor_id, stallguard_msg);
if (!ret.has_value()) {
return 0;
Expand Down

0 comments on commit 5b80425

Please sign in to comment.