mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
Fix for display settings (#229)
This commit is contained in:
parent
09cdf07b7c
commit
ee88a563dc
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user