瀏覽代碼
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)
Bob-the-Kuhn
7 年之前
No account linked to committer's email address
|
@@ -24,7 +24,6 @@
|
24
|
24
|
// file u8g_dev_st7920_128x64_HAL.cpp for the HAL version.
|
25
|
25
|
|
26
|
26
|
#include "../../inc/MarlinConfig.h"
|
27
|
|
-#include <U8glib.h>
|
28
|
27
|
|
29
|
28
|
#if ENABLED(U8GLIB_ST7920)
|
30
|
29
|
|
|
@@ -41,6 +40,8 @@
|
41
|
40
|
#define LCD_PIXEL_WIDTH 128
|
42
|
41
|
#define LCD_PIXEL_HEIGHT 64
|
43
|
42
|
|
|
43
|
+#include <U8glib.h>
|
|
44
|
+
|
44
|
45
|
//set optimization so ARDUINO optimizes this file
|
45
|
46
|
#pragma GCC optimize (3)
|
46
|
47
|
|