freemyipod r731 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r730‎ | r731 | r732 >
Date:01:01, 12 July 2011
Author:theseven
Status:new
Tags:
Comment:
emCORE: Increase maximum backlight brightness level on iPod Nano 4G to 255
Modified paths:
  • /emcore/trunk/target/ipodnano4g/backlight.c (modified) (history)

Diff [purge]

Index: emcore/trunk/target/ipodnano4g/backlight.c
@@ -45,5 +45,5 @@
4646
4747 void backlight_set_brightness(uint8_t brightness)
4848 {
49 - i2c_sendbyte(0, 0xe6, 0x30, (250 * (brightness & 0xff)) >> 8);
 49+ i2c_sendbyte(0, 0xe6, 0x30, brightness & 0xff);
5050 }