Patch a u8g include
This commit is contained in:
		| @@ -23,6 +23,8 @@ | |||||||
|  |  | ||||||
| // Use this file to select the com driver for device drivers that are NOT in the U8G library | // Use this file to select the com driver for device drivers that are NOT in the U8G library | ||||||
|  |  | ||||||
|  | #include <U8glib.h> | ||||||
|  |  | ||||||
| #ifndef U8G_HAL_LINKS | #ifndef U8G_HAL_LINKS | ||||||
|  |  | ||||||
|   #ifdef __SAM3X8E__ |   #ifdef __SAM3X8E__ | ||||||
|   | |||||||
| @@ -58,7 +58,6 @@ | |||||||
| #if HAS_GRAPHICAL_LCD | #if HAS_GRAPHICAL_LCD | ||||||
|  |  | ||||||
| #include <U8glib.h> | #include <U8glib.h> | ||||||
|  |  | ||||||
| #include "HAL_LCD_com_defines.h" | #include "HAL_LCD_com_defines.h" | ||||||
|  |  | ||||||
| #define WIDTH 128 | #define WIDTH 128 | ||||||
|   | |||||||
| @@ -58,7 +58,6 @@ | |||||||
| #if HAS_GRAPHICAL_LCD | #if HAS_GRAPHICAL_LCD | ||||||
|  |  | ||||||
| #include <U8glib.h> | #include <U8glib.h> | ||||||
|  |  | ||||||
| #include "HAL_LCD_com_defines.h" | #include "HAL_LCD_com_defines.h" | ||||||
|  |  | ||||||
| #define LCD_PIXEL_WIDTH  128 | #define LCD_PIXEL_WIDTH  128 | ||||||
|   | |||||||
| @@ -59,8 +59,9 @@ | |||||||
|  |  | ||||||
| #if HAS_GRAPHICAL_LCD && PIN_EXISTS(FSMC_CS) | #if HAS_GRAPHICAL_LCD && PIN_EXISTS(FSMC_CS) | ||||||
|  |  | ||||||
| #include "U8glib.h" | #include <U8glib.h> | ||||||
| #include "HAL_LCD_com_defines.h" | #include "HAL_LCD_com_defines.h" | ||||||
|  |  | ||||||
| #include <string.h> | #include <string.h> | ||||||
|  |  | ||||||
| #if ENABLED(LCD_USE_DMA_FSMC) | #if ENABLED(LCD_USE_DMA_FSMC) | ||||||
|   | |||||||
| @@ -58,7 +58,6 @@ | |||||||
| #if HAS_GRAPHICAL_LCD | #if HAS_GRAPHICAL_LCD | ||||||
|  |  | ||||||
| #include <U8glib.h> | #include <U8glib.h> | ||||||
|  |  | ||||||
| #include "HAL_LCD_com_defines.h" | #include "HAL_LCD_com_defines.h" | ||||||
|  |  | ||||||
| #define WIDTH 128 | #define WIDTH 128 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user