nwze370: improve lcd & backlight

Added lcd inversion
Fix issue where backlight would turn on before first frame rendered
Fix issue where backlight would shortly appear at 100% before PWM is
ready during fade in
Turn off backlight before booting/RoLo/shutdown to avoid it being
enabled on next boot
Fix issue where fade in isn't smooth because brightness levels below 13 were
basically equalivent to off, by removing these brightness levels

Change-Id: I868eae2cbeea52c6af7d09c886958ff46167fe26
This commit is contained in:
nift4 2025-10-21 19:39:11 +02:00 committed by William Wilgus
parent 9722cad478
commit b1511738f7
5 changed files with 47 additions and 15 deletions

View file

@ -108,8 +108,8 @@
/* Main LCD backlight brightness range and defaults */
#define MIN_BRIGHTNESS_SETTING 0
#define MAX_BRIGHTNESS_SETTING 100
#define DEFAULT_BRIGHTNESS_SETTING 50
#define MAX_BRIGHTNESS_SETTING 88
#define DEFAULT_BRIGHTNESS_SETTING 44
/* Which backlight fading type? */
#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING