Skip to content

Commit 38c1f90

Browse files
committed
Fixed a comment
Fixed a register name in comments of read-several-register.md
1 parent 67e39db commit 38c1f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/14-i2c/read-several-registers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fn main() -> ! {
7777
// Wait until we can send more data
7878
while i2c1.isr.read().txis().bit_is_clear() {}
7979

80-
// Send the address of the register that we want to read: IRA_REG_M
80+
// Send the address of the register that we want to read: OUT_X_H_M
8181
i2c1.txdr.write(|w| w.txdata().bits(OUT_X_H_M));
8282

8383
// Wait until the previous byte has been transmitted

0 commit comments

Comments
 (0)