freemyipod r926 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r925‎ | r926 | r927 >
Date:22:45, 6 May 2014
Author:user890104
Status:new
Tags:
Comment:
UMSboot for iPod Classic: Fix an issue when sending more than 8 bits of data to the LCD controller
Modified paths:
  • /umsboot/src/board/ipodclassic/lcd.c (modified) (history)

Diff [purge]

Index: umsboot/src/board/ipodclassic/lcd.c
@@ -13,6 +13,7 @@
1414
1515 static void ipcl_lcd_send_data(const struct lcdif_instance* interface, int data)
1616 {
 17+ data = (data & 0xff) | ((data & 0x7f00) << 1);
1718 interface->driver->send_data(interface, data);
1819 }
1920