kopia lustrzana https://github.com/OpenRTX/OpenRTX
Display: Set default contrast at boot. Improve default contrast for GD-77
rodzic
3da311ee38
commit
92e0abafa2
|
@ -37,7 +37,7 @@ static const settings_t default_settings =
|
|||
{
|
||||
"OPNRTX", // Settings valid string
|
||||
255, // Brightness
|
||||
60, // Contrast
|
||||
71, // Contrast
|
||||
0, // UTC Timezone
|
||||
false, // GPS enabled
|
||||
true // GPS set time
|
||||
|
|
|
@ -33,8 +33,10 @@ int main(void)
|
|||
// Initialize platform drivers
|
||||
platform_init();
|
||||
|
||||
// Initialize graphics driver
|
||||
// Initialize display and graphics driver
|
||||
gfx_init();
|
||||
// Set default contrast
|
||||
display_setContrast(default_settings.contrast);
|
||||
|
||||
// Initialize user interface
|
||||
ui_init();
|
||||
|
|
Ładowanie…
Reference in New Issue