Skip to content
Snippets Groups Projects
Unverified Commit a823b801 authored by Bob-the-Kuhn's avatar Bob-the-Kuhn Committed by GitHub
Browse files

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)
parents 73cd34b1 47d529aa
Branches
Tags
No related merge requests found
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
// file u8g_dev_st7920_128x64_HAL.cpp for the HAL version. // file u8g_dev_st7920_128x64_HAL.cpp for the HAL version.
#include "../../inc/MarlinConfig.h" #include "../../inc/MarlinConfig.h"
#include <U8glib.h>
#if ENABLED(U8GLIB_ST7920) #if ENABLED(U8GLIB_ST7920)
...@@ -41,6 +40,8 @@ ...@@ -41,6 +40,8 @@
#define LCD_PIXEL_WIDTH 128 #define LCD_PIXEL_WIDTH 128
#define LCD_PIXEL_HEIGHT 64 #define LCD_PIXEL_HEIGHT 64
#include <U8glib.h>
//set optimization so ARDUINO optimizes this file //set optimization so ARDUINO optimizes this file
#pragma GCC optimize (3) #pragma GCC optimize (3)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment