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:
parent
34e23bcf95
commit
82ddd55a1a
1 changed files with 6 additions and 0 deletions
|
@ -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__
|
||||
|
|
Loading…
Reference in a new issue