Fix for display settings (#229)

This commit is contained in:
Ken Van Hoeylandt 2025-02-22 16:39:17 +01:00 committed by GitHub
parent 09cdf07b7c
commit ee88a563dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

View File

@ -30,7 +30,11 @@ std::shared_ptr<tt::hal::display::DisplayDevice> createDisplay() {
CROWPANEL_LCD_PIN_DC, CROWPANEL_LCD_PIN_DC,
320, 320,
240, 240,
touch touch,
true,
true,
false,
true
); );
configuration->backlightDutyFunction = driver::pwmbacklight::setBacklightDuty; configuration->backlightDutyFunction = driver::pwmbacklight::setBacklightDuty;

View File

@ -18,7 +18,11 @@ std::shared_ptr<tt::hal::display::DisplayDevice> createDisplay() {
TDECK_LCD_PIN_DC, TDECK_LCD_PIN_DC,
320, 320,
240, 240,
touch touch,
true,
true,
false,
true
); );
configuration->backlightDutyFunction = driver::pwmbacklight::setBacklightDuty; configuration->backlightDutyFunction = driver::pwmbacklight::setBacklightDuty;