Skip to content

Commit

Permalink
🩹 Conditional u8g for SAMD21 (MarlinFirmware#25947)
Browse files Browse the repository at this point in the history
  • Loading branch information
brupje authored and Andy-Big committed Jul 19, 2023
1 parent 30c8f27 commit 53f9624
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@

#ifdef __SAMD21__

#include "../../../inc/MarlinConfigPre.h"

#if HAS_MARLINUI_U8GLIB

#include <U8glib-HAL.h>
#include "SPI.h"

Expand Down Expand Up @@ -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__

0 comments on commit 53f9624

Please sign in to comment.