freemyipod r614 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r613‎ | r614 | r615 >
Date:04:20, 14 February 2011
Author:theseven
Status:new
Tags:
Comment:
emCORE: Fix red
Modified paths:
  • /emcore/trunk/target/ipodclassic/storage_ata.c (modified) (history)

Diff [purge]

Index: emcore/trunk/target/ipodclassic/storage_ata.c
@@ -447,7 +447,7 @@
448448 for (sect = sector; sect < sector + cnt; sect++)
449449 {
450450 rc = -1;
451 - tries = ATA_RETRIES;
 451+ int tries = ATA_RETRIES;
452452 while (tries-- && rc)
453453 {
454454 rc = ata_rw_chunk(sect, 1, buf, write);