Browse Source

Fix sign warning (#20872)

vanilla_fb_2.0.x
Alexander D. Kanevskiy 4 years ago
committed by GitHub
parent
commit
2c983d6c7a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/lcd/dogm/dogm_Statusscreen.h

2
Marlin/src/lcd/dogm/dogm_Statusscreen.h

@ -193,7 +193,7 @@
#define STATUS_LOGO_HEIGHT (sizeof(status_logo_bmp) / (STATUS_LOGO_BYTEWIDTH)) #define STATUS_LOGO_HEIGHT (sizeof(status_logo_bmp) / (STATUS_LOGO_BYTEWIDTH))
#endif #endif
#ifndef STATUS_LOGO_Y #ifndef STATUS_LOGO_Y
#define STATUS_LOGO_Y _MAX(0L, (28L - _MIN(28L, STATUS_LOGO_HEIGHT)) / 2L) #define STATUS_LOGO_Y _MAX(0U, (28U - _MIN(28U, STATUS_LOGO_HEIGHT)) / 2U)
#endif #endif
static_assert( static_assert(
sizeof(status_logo_bmp) == (STATUS_LOGO_BYTEWIDTH) * (STATUS_LOGO_HEIGHT), sizeof(status_logo_bmp) == (STATUS_LOGO_BYTEWIDTH) * (STATUS_LOGO_HEIGHT),

Loading…
Cancel
Save