mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-17 23:18:34 +00:00
Drop #pragmas that don't help .c files
This commit is contained in:
parent
773a550472
commit
912fff0923
2 changed files with 1 additions and 8 deletions
|
@ -94,12 +94,8 @@ 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;
|
||||
bool drawing_screen, first_page; // = false
|
||||
#else
|
||||
#include "ultralcd_impl_HD44780.h"
|
||||
constexpr bool first_page = true;
|
||||
|
|
|
@ -43,10 +43,7 @@
|
|||
|
||||
#include "MarlinConfig.h"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#include <U8glib.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#include "ultralcd.h"
|
||||
#include "dogm_bitmaps.h"
|
||||
|
|
Loading…
Reference in a new issue