diff --git a/Cargo.lock b/Cargo.lock index 8aab69d..05ac458 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "bitterly" -version = "0.4.0" +version = "0.5.0" dependencies = [ "paste", ] diff --git a/examples/max14748.rs b/examples/max14748.rs index 2b84974..7469850 100644 --- a/examples/max14748.rs +++ b/examples/max14748.rs @@ -13,6 +13,7 @@ pub fn main() { peripheral!( Max14748, + u8, 0x0A, 54, [ diff --git a/examples/max17261.rs b/examples/max17261.rs index ef22ea1..03235ff 100644 --- a/examples/max17261.rs +++ b/examples/max17261.rs @@ -43,6 +43,7 @@ pub fn main() { peripheral!( Max17261, + u8, 0x36, 112, [ diff --git a/tests/bitterly.rs b/tests/bitterly.rs index 52448c0..ac238d2 100644 --- a/tests/bitterly.rs +++ b/tests/bitterly.rs @@ -58,6 +58,7 @@ mod tests { peripheral!( Max14748, + u8, 0x0A, 5, [ @@ -92,6 +93,7 @@ mod tests { peripheral!( Max14748, + u8, 0x0A, 5, [ @@ -144,6 +146,7 @@ mod tests { peripheral!( Max14748, + u8, 0x0A, 5, [ @@ -169,6 +172,7 @@ mod tests { peripheral!( Max14748, + u8, 0x0A, 5, [ @@ -234,6 +238,7 @@ mod tests { peripheral!( Max17261, + u8, 0x36, 4, [ @@ -324,8 +329,9 @@ mod tests { peripheral!( Max14748, + u8, 0x0A, - 8, + 9, [ (ChipId, 0x00, 0), (ChipRev, 0x01, 1),