0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-18 23:49:49 +00:00

🩹 Conditional u8g for SAMD21 (#25947)

This commit is contained in:
Bart Meijer 2023-06-09 04:55:26 +02:00 committed by GitHub
parent 34e23bcf95
commit 82ddd55a1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,6 +60,10 @@
#ifdef __SAMD21__
#include "../../../inc/MarlinConfigPre.h"
#if HAS_MARLINUI_U8GLIB
#include <U8glib-HAL.h>
#include "SPI.h"
@ -151,4 +155,6 @@ uint8_t u8g_com_samd21_st7920_hw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val
return 1;
}
#endif // HAS_MARLINUI_U8GLIB
#endif // __SAMD21__