Browse Source

Touch UI FTDI EVE is now beta (#17704)

Gustavo Alvarez 5 years ago
parent
commit
11f7695907
No account linked to committer's email address

+ 1
- 1
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/ftdi_eve_lib/basic/commands.cpp View File

1124
 
1124
 
1125
   mem_write_8(REG::PCLK, Pclk); // Turns on Clock by setting PCLK Register to the value necessary for the module
1125
   mem_write_8(REG::PCLK, Pclk); // Turns on Clock by setting PCLK Register to the value necessary for the module
1126
 
1126
 
1127
-  mem_write_16(REG::PWM_HZ, ENABLED(LCD_FYSETC_TFT81050) ? 0x2710 : 0x00FA);
1127
+  mem_write_16(REG::PWM_HZ, 0x00FA);
1128
 
1128
 
1129
   // Turning off dithering seems to help prevent horizontal line artifacts on certain colors
1129
   // Turning off dithering seems to help prevent horizontal line artifacts on certain colors
1130
   mem_write_8(REG::DITHER,  0);
1130
   mem_write_8(REG::DITHER,  0);

+ 1
- 1
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/screens/interface_settings_screen.cpp View File

161
     CommandProcessor cmd;
161
     CommandProcessor cmd;
162
     switch (cmd.track_tag(value)) {
162
     switch (cmd.track_tag(value)) {
163
       case 2:
163
       case 2:
164
-        screen_data.InterfaceSettingsScreen.brightness = constrain((value * 128UL) / 0xFFFF, 1, 11);
164
+        screen_data.InterfaceSettingsScreen.brightness = _MAX(11, (value * 128UL) / 0xFFFF);
165
         CLCD::set_brightness(screen_data.InterfaceSettingsScreen.brightness);
165
         CLCD::set_brightness(screen_data.InterfaceSettingsScreen.brightness);
166
         SaveSettingsDialogBox::settingsChanged();
166
         SaveSettingsDialogBox::settingsChanged();
167
         break;
167
         break;

+ 1
- 1
Marlin/src/pins/ramps/pins_RAMPS.h View File

751
    *   EXP2-7 ----------- EXP1-4
751
    *   EXP2-7 ----------- EXP1-4
752
    *   EXP2-8 ----------- EXP1-3
752
    *   EXP2-8 ----------- EXP1-3
753
    *   EXP2-1 ----------- EXP1-2
753
    *   EXP2-1 ----------- EXP1-2
754
-   *  EXT1-10 ----------- EXP1-1
754
+   *  EXP1-10 ----------- EXP1-1
755
    *
755
    *
756
    */
756
    */
757
 
757
 

+ 1
- 1
Marlin/src/pins/stm32f1/pins_BTT_SKR_E3_DIP.h View File

264
    *   EXP1-7 ----------- EXP1-8
264
    *   EXP1-7 ----------- EXP1-8
265
    *   EXP1-8 ----------- EXP1-3
265
    *   EXP1-8 ----------- EXP1-3
266
    *   SPI1-1 ----------- EXP1-1
266
    *   SPI1-1 ----------- EXP1-1
267
-   *  EXT1-10 ----------- EXP1-4
267
+   *  EXP1-10 ----------- EXP1-7
268
    *
268
    *
269
    */
269
    */
270
 
270
 

+ 1
- 1
Marlin/src/pins/stm32f1/pins_BTT_SKR_MINI_E3.h View File

204
    *   EXP1-7 ----------- EXP1-8
204
    *   EXP1-7 ----------- EXP1-8
205
    *   EXP1-8 ----------- EXP1-3
205
    *   EXP1-8 ----------- EXP1-3
206
    *   SPI1-1 ----------- EXP1-1
206
    *   SPI1-1 ----------- EXP1-1
207
-   *  EXP1-10 ----------- EXP1-4
207
+   *  EXP1-10 ----------- EXP1-7
208
    *
208
    *
209
    */
209
    */
210
 
210
 

Loading…
Cancel
Save