Touch UI FTDI EVE is now beta (#17704)

This commit is contained in:
Gustavo Alvarez 2020-04-25 18:47:19 +02:00 committed by GitHub
parent b700b3cde6
commit 11f7695907
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -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_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 // Turning off dithering seems to help prevent horizontal line artifacts on certain colors
mem_write_8(REG::DITHER, 0); mem_write_8(REG::DITHER, 0);

View file

@ -161,7 +161,7 @@ void InterfaceSettingsScreen::onIdle() {
CommandProcessor cmd; CommandProcessor cmd;
switch (cmd.track_tag(value)) { switch (cmd.track_tag(value)) {
case 2: 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); CLCD::set_brightness(screen_data.InterfaceSettingsScreen.brightness);
SaveSettingsDialogBox::settingsChanged(); SaveSettingsDialogBox::settingsChanged();
break; break;

View file

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

View file

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

View file

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