Suppress U8glib warnings on build
This commit is contained in:
parent
0a0f2a5857
commit
25b3511241
@ -94,7 +94,10 @@ uint8_t lcd_status_update_delay = 1, // First update one loop delayed
|
|||||||
|
|
||||||
#if ENABLED(DOGLCD)
|
#if ENABLED(DOGLCD)
|
||||||
#include "ultralcd_impl_DOGM.h"
|
#include "ultralcd_impl_DOGM.h"
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||||
#include <U8glib.h>
|
#include <U8glib.h>
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
bool drawing_screen, // = false
|
bool drawing_screen, // = false
|
||||||
first_page;
|
first_page;
|
||||||
#else
|
#else
|
||||||
|
@ -33,31 +33,26 @@
|
|||||||
* License: http://opensource.org/licenses/BSD-3-Clause
|
* License: http://opensource.org/licenses/BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementation of the LCD display routines for a DOGM128 graphic display.
|
||||||
|
* These are common LCD 128x64 pixel graphic displays.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef ULTRALCD_IMPL_DOGM_H
|
#ifndef ULTRALCD_IMPL_DOGM_H
|
||||||
#define ULTRALCD_IMPL_DOGM_H
|
#define ULTRALCD_IMPL_DOGM_H
|
||||||
|
|
||||||
#include "MarlinConfig.h"
|
#include "MarlinConfig.h"
|
||||||
|
|
||||||
/**
|
#pragma GCC diagnostic push
|
||||||
* Implementation of the LCD display routines for a DOGM128 graphic display.
|
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||||
* These are common LCD 128x64 pixel graphic displays.
|
#include <U8glib.h>
|
||||||
*/
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
#include "ultralcd.h"
|
#include "ultralcd.h"
|
||||||
|
|
||||||
#if ENABLED(U8GLIB_ST7920)
|
|
||||||
#include "ultralcd_st7920_u8glib_rrd.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if ENABLED(U8GLIB_ST7565_64128N)
|
|
||||||
#include "ultralcd_st7565_u8glib_VIKI.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "dogm_bitmaps.h"
|
#include "dogm_bitmaps.h"
|
||||||
#include "utility.h"
|
#include "utility.h"
|
||||||
#include "duration_t.h"
|
#include "duration_t.h"
|
||||||
|
|
||||||
#include <U8glib.h>
|
|
||||||
|
|
||||||
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
||||||
#include "ubl.h"
|
#include "ubl.h"
|
||||||
#endif
|
#endif
|
||||||
@ -68,6 +63,14 @@
|
|||||||
#undef USE_SMALL_INFOFONT
|
#undef USE_SMALL_INFOFONT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if ENABLED(U8GLIB_ST7920)
|
||||||
|
#include "ultralcd_st7920_u8glib_rrd.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ENABLED(U8GLIB_ST7565_64128N)
|
||||||
|
#include "ultralcd_st7565_u8glib_VIKI.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLED(USE_SMALL_INFOFONT)
|
#if ENABLED(USE_SMALL_INFOFONT)
|
||||||
#include "dogm_font_data_6x9_marlin.h"
|
#include "dogm_font_data_6x9_marlin.h"
|
||||||
#define FONT_STATUSMENU_NAME u8g_font_6x9
|
#define FONT_STATUSMENU_NAME u8g_font_6x9
|
||||||
|
Loading…
Reference in New Issue
Block a user