Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hacknus committed Oct 11, 2023
1 parent 5bfe6ec commit dead59a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ impl<SPI, CS, EN, E> Tmc5160<SPI, CS, EN>

/// clear G_STAT register
pub fn clear_g_stat(&mut self) -> Result<DataPacket, Error<E>> {
let mut value = 0b111_u32.to_be_bytes();
// let mut value = 0b111_u32.to_be_bytes();
let mut value = 0b0_u32.to_be_bytes();
self.write_register(Registers::GCONF, &mut value)
}

Expand Down

0 comments on commit dead59a

Please sign in to comment.