diff options
Diffstat (limited to 'firmware/target/arm/i2c-pp5020.c')
-rw-r--r-- | firmware/target/arm/i2c-pp5020.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/i2c-pp5020.c b/firmware/target/arm/i2c-pp5020.c index 95a677ea01..ebd0318f0b 100644 --- a/firmware/target/arm/i2c-pp5020.c +++ b/firmware/target/arm/i2c-pp5020.c | |||
@@ -185,9 +185,9 @@ void i2c_init(void) | |||
185 | GPIOC_ENABLE &= ~0x20; | 185 | GPIOC_ENABLE &= ~0x20; |
186 | #endif | 186 | #endif |
187 | 187 | ||
188 | DEV_EN |= DEV_I2C; | 188 | DEV_EN |= DEV_I2C; /* Enable I2C */ |
189 | DEV_RS |= DEV_I2C; | 189 | DEV_RS |= DEV_I2C; /* Start I2C Reset */ |
190 | DEV_RS &=~DEV_I2C; | 190 | DEV_RS &=~DEV_I2C; /* End I2C Reset */ |
191 | 191 | ||
192 | outl(0x0, 0x600060a4); | 192 | outl(0x0, 0x600060a4); |
193 | outl(0x80 | (0 << 8), 0x600060a4); | 193 | outl(0x80 | (0 << 8), 0x600060a4); |