Gustavo Alvarez
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
5 additions and
5 deletions
-
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/ftdi_eve_lib/basic/commands.cpp
-
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/screens/interface_settings_screen.cpp
-
Marlin/src/pins/ramps/pins_RAMPS.h
-
Marlin/src/pins/stm32f1/pins_BTT_SKR_E3_DIP.h
-
Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_E3.h
|
|
@ -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 |
|
|
|
* |
|
|
|
*/ |
|
|
|
|
|
|
|