Touch UI FTDI EVE is now beta (#17704)

2.0.x
Gustavo Alvarez 5 years ago committed by GitHub
parent b700b3cde6
commit 11f7695907
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1124,7 +1124,7 @@ void CLCD::init() {
mem_write_8(REG::PCLK, Pclk); // Turns on Clock by setting PCLK Register to the value necessary for the module
mem_write_16(REG::PWM_HZ, ENABLED(LCD_FYSETC_TFT81050) ? 0x2710 : 0x00FA);
mem_write_16(REG::PWM_HZ, 0x00FA);
// Turning off dithering seems to help prevent horizontal line artifacts on certain colors
mem_write_8(REG::DITHER, 0);

@ -161,7 +161,7 @@ void InterfaceSettingsScreen::onIdle() {
CommandProcessor cmd;
switch (cmd.track_tag(value)) {
case 2:
screen_data.InterfaceSettingsScreen.brightness = constrain((value * 128UL) / 0xFFFF, 1, 11);
screen_data.InterfaceSettingsScreen.brightness = _MAX(11, (value * 128UL) / 0xFFFF);
CLCD::set_brightness(screen_data.InterfaceSettingsScreen.brightness);
SaveSettingsDialogBox::settingsChanged();
break;

@ -751,7 +751,7 @@
* EXP2-7 ----------- EXP1-4
* EXP2-8 ----------- EXP1-3
* EXP2-1 ----------- EXP1-2
* EXT1-10 ----------- EXP1-1
* EXP1-10 ----------- EXP1-1
*
*/

@ -264,7 +264,7 @@
* EXP1-7 ----------- EXP1-8
* EXP1-8 ----------- EXP1-3
* SPI1-1 ----------- EXP1-1
* EXT1-10 ----------- EXP1-4
* EXP1-10 ----------- EXP1-7
*
*/

@ -204,7 +204,7 @@
* EXP1-7 ----------- EXP1-8
* EXP1-8 ----------- EXP1-3
* SPI1-1 ----------- EXP1-1
* EXP1-10 ----------- EXP1-4
* EXP1-10 ----------- EXP1-7
*
*/

Loading…
Cancel
Save