Suppress U8glib build warnings
This commit is contained in:
@ -62,7 +62,10 @@
|
||||
|
||||
#if ENABLED(DOGLCD)
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#include <U8glib.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#include "../../Marlin.h"
|
||||
|
||||
|
@ -59,7 +59,10 @@
|
||||
|
||||
#if ENABLED(DOGLCD)
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#include <U8glib.h>
|
||||
#pragma GCC diagnostic pop
|
||||
#include <Arduino.h>
|
||||
#include "../Delay.h"
|
||||
|
||||
|
@ -60,7 +60,10 @@
|
||||
#if ENABLED(DOGLCD)
|
||||
|
||||
//#include <inttypes.h>
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#include <U8glib.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#define SPI_FULL_SPEED 0
|
||||
#define SPI_HALF_SPEED 1
|
||||
|
@ -81,7 +81,10 @@
|
||||
|
||||
#if ENABLED(DOGLCD)
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#include <U8glib.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#define I2C_SLA (0x3C*2)
|
||||
//#define I2C_CMD_MODE 0x080
|
||||
|
@ -60,7 +60,10 @@
|
||||
#if ENABLED(DOGLCD)
|
||||
|
||||
//#include <inttypes.h>
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#include <U8glib.h>
|
||||
#pragma GCC diagnostic pop
|
||||
#include "../Delay.h"
|
||||
|
||||
#define SPI_FULL_SPEED 0
|
||||
|
@ -59,7 +59,10 @@
|
||||
|
||||
#if ENABLED(DOGLCD)
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#include <U8glib.h>
|
||||
#pragma GCC diagnostic pop
|
||||
#include "SoftwareSPI.h"
|
||||
#include "../Delay.h"
|
||||
|
||||
|
@ -59,7 +59,10 @@
|
||||
|
||||
#if ENABLED(DOGLCD)
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#include <U8glib.h>
|
||||
#pragma GCC diagnostic pop
|
||||
#include "SoftwareSPI.h"
|
||||
|
||||
#define SPI_SPEED 2 // About 2 MHz
|
||||
|
Reference in New Issue
Block a user