Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: [patch] Backlight-on-when-charging
From: Mark Hillebrand (mah_at_wjpserver.CS.Uni-SB.DE)
Date: 2002-09-19


Hi,

  the attached patch adds the option "Backlight on when charging" to the
  display menu (for recorders).
  When set, the backlight is always on when the charger is inserted.
  When off, the usual timeout applies even when the charger is inserted.

  This closes the feature request "[ 603685 ] Constant backlight with
  mains connexion".

  Implementation detail:
  An new language string with the identifier LANG_BACKLIGHT_ON_WHEN_CHARGING
  (default english text: "Backlight on when charging") has been added.
  The global settings contain a new boolean variable
  backlight_on_when_charging. The backlight option has been renamed to
  backlight_timeout for clarity.
  In the RTC, the backlight_on_when_charging is stored as the eighth bit
  of the backlight byte (0xb), while the backlight_timeout occupies bit
  0..6.

  So long,

  Mark





Page was last modified "Jan 10 2012" The Rockbox Crew
aaa