Suppress U8glib warnings on build

This commit is contained in:
Scott Lahteine
2018-05-23 02:25:52 -05:00
parent 0a0f2a5857
commit 25b3511241
2 changed files with 21 additions and 15 deletions

View File

@@ -94,7 +94,10 @@ uint8_t lcd_status_update_delay = 1, // First update one loop delayed
#if ENABLED(DOGLCD)
#include "ultralcd_impl_DOGM.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wuninitialized"
#include <U8glib.h>
#pragma GCC diagnostic pop
bool drawing_screen, // = false
first_page;
#else