Skip to content

Commit

Permalink
Convert write delay back to u8
Browse files Browse the repository at this point in the history
Co-authored-by: Diego Barrios Romero <eldruin@gmail.com>
  • Loading branch information
ShakenCodes and eldruin committed May 21, 2024
1 parent 8ba5dce commit ec71c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mlx90614.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ where
pub fn new_mlx90614(
i2c: I2C,
address: SlaveAddr,
eeprom_write_delay_ms: u32,
eeprom_write_delay_ms: u8,
) -> Result<Self, Error<E>> {
let address = Self::get_address(address, DEV_ADDR)?;
Ok(Mlx9061x {
Expand Down

0 comments on commit ec71c09

Please sign in to comment.