freemyipod r230 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r229‎ | r230 | r231 >
Date:20:24, 27 October 2010
Author:theseven
Status:new
Tags:
Comment:
Fix another silly copy&paste bug in embios.py (ipodnano2g_wipenand)
Modified paths:
  • /embios/trunk/tools/embios.py (modified) (history)

Diff [purge]

Index: embios/trunk/tools/embios.py
@@ -786,7 +786,7 @@
787787 self.embios.lib.dev.timeout = 30000
788788 for i in range(info["banks"] * info["blocks"] / 64):
789789 self.logger.info(".")
790 - self.embios.ipodnano2g_nanderase(0x08000000, i * 64, 64, 1, 1)
 790+ self.embios.ipodnano2g_nanderase(0x08000000, i * 64, 64)
791791 statusfile.write(self.embios.read(0x08000000, 0x00000100))
792792 statusfile.close()
793793 self.logger.info("done\n")