Fix a typo in an I2C header file. From Jahu Niskanen

This commit is contained in:
Gregory Nutt 2014-11-11 07:12:16 -06:00
parent 6fd018089c
commit f9ff3469f6

View File

@ -185,7 +185,7 @@
#define I2C_SR2_SMBDEFAULT (1 << 5) /* Bit 5: SMBus Device Default Address (Slave mode) */
#define I2C_SR2_SMBHOST (1 << 6) /* Bit 6: SMBus Host Header (Slave mode) */
#define I2C_SR2_DUALF (1 << 7) /* Bit 7: Dual Flag (Slave mode) */
#define I2C_SR2_PEC_SHIFT (1) /* Bits 15-8: Packet Error Checking Register */
#define I2C_SR2_PEC_SHIFT (8) /* Bits 15-8: Packet Error Checking Register */
#define I2C_SR2_PEC_MASK (0xff << I2C_SR2_PEC_SHIFT)
/* Clock control register */