Rockbox mail archiveSubject: [patch] Backlight-on-when-charging
From: Mark Hillebrand <mah_at_wjpserver.CS.Uni-SB.DE>
Date: Thu, 19 Sep 2002 09:45:24 +0200
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
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