-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
There should be buffer
instead of alarm
here:
book/src/development/sensor.md
Lines 149 to 158 in fb92843
impl Ls1234<'a> { | |
pub fn new(i2c: &'a dyn I2CDevice, buffer: &'static mut [u8]) -> Ls1234<'a> { | |
Ls1234 { | |
i2c: i2c, | |
alarm: alarm, | |
state: Cell::new(State::Disabled), | |
client: OptionalCell::empty(), | |
} | |
} | |
} |
Metadata
Metadata
Assignees
Labels
No labels