freemyipod r874 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r873‎ | r874 | r875 >
Date:12:45, 27 July 2013
Author:theseven
Status:new
Tags:
Comment:
emCORE: iPod Nano 2G: Fix LCD driver lockup in csflush if the LCD is currently updating
Modified paths:
  • /emcore/trunk/target/ipodnano2g/lcd.c (modified) (history)

Diff [purge]

Index: emcore/trunk/target/ipodnano2g/lcd.c
@@ -108,7 +108,7 @@
109109 mutex_lock(&lcd_mutex, TIMEOUT_BLOCK);
110110 displaylcd_sync();
111111 }
112 - else while (DMAALLST2 & 0x70000);
 112+ else while (DMAALLST2 & 0x40000);
113113 if (lcd_detect() == 2)
114114 {
115115 lcd_send_cmd(0x50);