Fix RRD/CR10 LCD on STM32F1/F4 (#15172)

This commit is contained in:
Tanguy Pruvot
2019-09-05 20:20:03 +02:00
committed by Scott Lahteine
parent 18dd5cb46a
commit 50e1bf57b9
2 changed files with 4 additions and 2 deletions

View File

@@ -23,7 +23,9 @@
// NOTE - the HAL version of the rrd device uses a generic ST7920 device. See the
// file u8g_dev_st7920_128x64_HAL.cpp for the HAL version.
#if defined(__AVR__) && !defined(U8G_HAL_LINKS)
#include "../../inc/MarlinConfigPre.h"
#if !defined(U8G_HAL_LINKS) && ANY(__AVR__, ARDUINO_ARCH_STM32)
#include "../../inc/MarlinConfig.h"