Skip to content

Commit

Permalink
Fixed tests and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
amcelroy committed Oct 31, 2023
1 parent 528b1c6 commit 0cd4561
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/max14748.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pub fn main() {

peripheral!(
Max14748,
u8,
0x0A,
54,
[
Expand Down
1 change: 1 addition & 0 deletions examples/max17261.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ pub fn main() {

peripheral!(
Max17261,
u8,
0x36,
112,
[
Expand Down
8 changes: 7 additions & 1 deletion tests/bitterly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ mod tests {

peripheral!(
Max14748,
u8,
0x0A,
5,
[
Expand Down Expand Up @@ -92,6 +93,7 @@ mod tests {

peripheral!(
Max14748,
u8,
0x0A,
5,
[
Expand Down Expand Up @@ -144,6 +146,7 @@ mod tests {

peripheral!(
Max14748,
u8,
0x0A,
5,
[
Expand All @@ -169,6 +172,7 @@ mod tests {

peripheral!(
Max14748,
u8,
0x0A,
5,
[
Expand Down Expand Up @@ -234,6 +238,7 @@ mod tests {

peripheral!(
Max17261,
u8,
0x36,
4,
[
Expand Down Expand Up @@ -324,8 +329,9 @@ mod tests {

peripheral!(
Max14748,
u8,
0x0A,
8,
9,
[
(ChipId, 0x00, 0),
(ChipRev, 0x01, 1),
Expand Down

0 comments on commit 0cd4561

Please sign in to comment.