Fix some DOGM warnings (#16363)

This commit is contained in:
Jason Smith
2020-01-01 19:58:16 -08:00
committed by Scott Lahteine
parent 0be8b22d3c
commit 92ad973729
2 changed files with 5 additions and 3 deletions

View File

@@ -1368,7 +1368,7 @@
#define STATUS_LOGO_X 0
#endif
#ifndef STATUS_LOGO_Y
#define STATUS_LOGO_Y _MIN(0, 10 - (STATUS_LOGO_HEIGHT) / 2)
#define STATUS_LOGO_Y _MIN(0U, (10 - (STATUS_LOGO_HEIGHT) / 2))
#endif
#ifndef STATUS_LOGO_HEIGHT
#define STATUS_LOGO_HEIGHT (sizeof(status_logo_bmp) / (STATUS_LOGO_BYTEWIDTH))