Merge pull request #9729 from Bob-the-Kuhn/U8G-compile-error-2.0.x

[2.0.x] Move #include <U8glib.h> in ultralcd_st7920_u8glib_rrd_AVR.cpp (fix bug introduced in PR #9624)
2.0.x
Bob-the-Kuhn 7 years ago committed by GitHub
commit a823b801b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,6 @@
// file u8g_dev_st7920_128x64_HAL.cpp for the HAL version.
#include "../../inc/MarlinConfig.h"
#include <U8glib.h>
#if ENABLED(U8GLIB_ST7920)
@ -41,6 +40,8 @@
#define LCD_PIXEL_WIDTH 128
#define LCD_PIXEL_HEIGHT 64
#include <U8glib.h>
//set optimization so ARDUINO optimizes this file
#pragma GCC optimize (3)

Loading…
Cancel
Save