Browse Source

Fix Ender-3 V2 DWIN LPC signed warnings (#20786)

ellensp 4 years ago
parent
commit
5e46f63e17
No account linked to committer's email address
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      Marlin/src/lcd/dwin/e3v2/dwin.h

+ 1
- 2
Marlin/src/lcd/dwin/e3v2/dwin.h View File

249
     float Move_E_scale    = 0;
249
     float Move_E_scale    = 0;
250
   #endif
250
   #endif
251
   float offset_value      = 0;
251
   float offset_value      = 0;
252
-  TERN_(__STM32F1__, signed)
253
-  char show_mode          = 0; // -1: Temperature control    0: Printing temperature
252
+  int8_t show_mode        = 0; // -1: Temperature control    0: Printing temperature
254
 } HMI_value_t;
253
 } HMI_value_t;
255
 
254
 
256
 #define DWIN_CHINESE 123
255
 #define DWIN_CHINESE 123

Loading…
Cancel
Save