@ -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 @@
#include <Arduino.h>
#include "../Delay.h"
@ -60,7 +60,10 @@
//#include <inttypes.h>
#define SPI_FULL_SPEED 0
#define SPI_HALF_SPEED 1
@ -81,7 +81,10 @@
#define I2C_SLA (0x3C*2)
//#define I2C_CMD_MODE 0x080
#include "SoftwareSPI.h"
#define SPI_SPEED 2 // About 2 MHz
@ -69,7 +69,10 @@
#include "HAL_LCD_com_defines.h"
#define WIDTH 128
@ -57,7 +57,10 @@
@ -61,7 +61,10 @@
@ -42,7 +42,10 @@
#define LCD_PIXEL_WIDTH 128
#define LCD_PIXEL_HEIGHT 64
//set optimization so ARDUINO optimizes this file
#pragma GCC optimize (3)
@ -11,7 +11,10 @@
extern U8GLIB *pu8g;
#define _lcd_write(a) pu8g->print(a)
#define _lcd_setcursor(col, row) pu8g->setPrintPos((col), (row));
@ -103,9 +103,7 @@ uint8_t lcd_status_update_delay = 1, // First update one loop delayed
#include "ultralcd_impl_DOGM.h"
bool drawing_screen, // = false
first_page;
bool drawing_screen, first_page; // = false
#else
#include "ultralcd_impl_HD44780.h"
constexpr bool first_page = true;
@ -58,7 +58,11 @@
#include "../libs/duration_t.h"
#endif
#include "fontutils.h"
#include "u8g_fontutf8.h"