Scott Lahteine hace 5 años
padre
commit
c3ff53a61c
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5
    1
      Marlin/src/lcd/dogm/HAL_LCD_com_defines.h

+ 5
- 1
Marlin/src/lcd/dogm/HAL_LCD_com_defines.h Ver fichero

@@ -40,10 +40,14 @@
40 40
     #define U8G_COM_ST7920_HAL_SW_SPI u8g_com_std_sw_spi_fn
41 41
     #define U8G_COM_ST7920_HAL_HW_SPI u8g_com_stm32duino_hw_spi_fn
42 42
   #elif defined(ARDUINO_ARCH_STM32)
43
+    uint8_t u8g_com_arduino_std_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr);
43 44
     #define U8G_COM_HAL_SW_SPI_FN u8g_com_arduino_std_sw_spi_fn
45
+    uint8_t u8g_com_stm32duino_hw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr);
44 46
     #define U8G_COM_HAL_HW_SPI_FN u8g_com_stm32duino_hw_spi_fn
47
+    uint8_t u8g_com_arduino_st7920_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr);
45 48
     #define U8G_COM_ST7920_HAL_SW_SPI u8g_com_arduino_st7920_spi_fn
46
-    #define U8G_COM_ST7920_HAL_HW_SPI u8g_com_stm32duino_hw_spi_fn
49
+    uint8_t u8g_com_arduino_st7920_hw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr);
50
+    #define U8G_COM_ST7920_HAL_HW_SPI u8g_com_arduino_st7920_hw_spi_fn
47 51
   #elif defined(__AVR__)
48 52
     uint8_t u8g_com_HAL_AVR_sw_sp_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr);
49 53
     #define U8G_COM_HAL_SW_SPI_FN  u8g_com_HAL_AVR_sw_sp_fn

Loading…
Cancelar
Guardar