forked from rp-rs/rp-hal
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend tests in
gpio::check_pin_groups()
(rp-rs#817)
* Extend tests in `gpio::check_pin_groups()` Replaced the uses of `assert!(x == y)` with `assert_eq!()`, so it was more clear which pin was wrong when tests failed. Also added checks for `group.set(...)`, `group.set_u32(...)`, on top of the existing `group.toggle()` Switch hex numbers to binary to make it easier to read the bits Signed-off-by: hfly0 <[email protected]> * Format files --------- Signed-off-by: hfly0 <[email protected]>
- Loading branch information
Showing
1 changed file
with
30 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters