freemyipod r291 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r290‎ | r291 | r292 >
Date:22:25, 27 November 2010
Author:theseven
Status:new
Tags:
Comment:
UMSboot: S5L8701 I2C driver: Add missing delay loop
Modified paths:
  • /umsboot/target/ipodnano2g/i2c.c (modified) (history)

Diff [purge]

Index: umsboot/target/ipodnano2g/i2c.c
@@ -52,6 +52,7 @@
5353 IICDS = device & ~1;
5454 IICSTAT = 0xF0;
5555 IICCON = 0xB7;
 56+ while ((IICCON & 0x10) == 0);
5657 if (address >= 0)
5758 {
5859 /* write address */