Browse Source

Fix DUE HAL SW SPI compile error (#14005)

Marcio Teixeira 6 years ago
parent
commit
9558962d59

+ 2
- 2
Marlin/src/HAL/HAL_DUE/u8g_com_HAL_DUE_st7920_sw_spi.cpp View File

@@ -59,12 +59,12 @@
59 59
 
60 60
 #if ENABLED(U8GLIB_ST7920)
61 61
 
62
-#include "u8g_com_HAL_DUE_sw_spi_shared.h"
63
-
64 62
 #include "../shared/Delay.h"
65 63
 
66 64
 #include <U8glib.h>
67 65
 
66
+#include "u8g_com_HAL_DUE_sw_spi_shared.h"
67
+
68 68
 #define SPISEND_SW_DUE u8g_spiSend_sw_DUE_mode_0
69 69
 
70 70
 static uint8_t rs_last_state = 255;

+ 2
- 2
Marlin/src/HAL/HAL_DUE/u8g_com_HAL_DUE_sw_spi_shared.cpp View File

@@ -59,12 +59,12 @@
59 59
 
60 60
 #if HAS_GRAPHICAL_LCD
61 61
 
62
-#include "u8g_com_HAL_DUE_sw_spi_shared.h"
63
-
64 62
 #include "../shared/Delay.h"
65 63
 
66 64
 #include <U8glib.h>
67 65
 
66
+#include "u8g_com_HAL_DUE_sw_spi_shared.h"
67
+
68 68
 void u8g_SetPIOutput_DUE(u8g_t *u8g, uint8_t pin_index) {
69 69
   PIO_Configure(g_APinDescription[u8g->pin_list[pin_index]].pPort, PIO_OUTPUT_1,
70 70
     g_APinDescription[u8g->pin_list[pin_index]].ulPin, g_APinDescription[u8g->pin_list[pin_index]].ulPinConfiguration);  // OUTPUT

Loading…
Cancel
Save