We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 210a22f commit d68fdedCopy full SHA for d68fded
src/types.rs
@@ -1527,12 +1527,12 @@ macro_rules! impl_bus_pins {
1527
/// This is the **unchecked** raw value retrived from the EEPROM and it may
1528
/// not be a valid value.
1529
pub fn [<$FIELD:lower _drive_current_unchecked>](&self) -> u8 {
1530
- (self.0).[<$FIELD:upper SchmittInput>]
+ (self.0).[<$FIELD:upper DriveCurrent>]
1531
}
1532
1533
#[doc = "Set drive current for bus " $FIELD "."]
1534
pub fn [<set_ $FIELD:lower _drive_current>](&mut self, value: DriveCurrent) {
1535
- (self.0).[<$FIELD:upper SchmittInput>] = value as u8
+ (self.0).[<$FIELD:upper DriveCurrent>] = value as u8
1536
1537
1538
)*
0 commit comments