From e10fa1a35ade1771f276357dc7949654b92dfd99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Poulhi=C3=A8s?= Date: Mon, 23 Nov 2020 18:56:39 +0100 Subject: [PATCH] Trivial typo fix in documentation --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ef466f6..8df1b24 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -191,12 +191,12 @@ impl PowerMode { /// To determine the slave address of your device you can use `i2cdetect -y 1` on linux. /// The 7-bit device address is 111011x. The 6 MSB bits are fixed. /// The last bit is changeable by SDO value and can be changed during operation. -/// Connecting SDO to GND results in slave address 1110110 (0x76); connection it to V DDIO results in slave +/// Connecting SDO to GND results in slave address 1110110 (0x76); connecting it to V DDIO results in slave /// address 1110111 (0x77), which is the same as BMP280’s I2C address. /// #[derive(Debug, Clone, Copy)] pub enum I2CAddress { - /// Primary Slave Address 0x77 + /// Primary Slave Address 0x76 Primary, /// Secondary Slave Address 0x77 Secondary,