Przeglądaj źródła

Fix STM32F1 SERIAL_GET_TX_BUFFER_FREE

Scott Lahteine 4 lat temu
rodzic
commit
a3f6e48eb6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      Marlin/src/HAL/STM32F1/HAL.h

+ 1
- 1
Marlin/src/HAL/STM32F1/HAL.h Wyświetl plik

@@ -110,7 +110,7 @@
110 110
     #error "LCD_SERIAL_PORT must be -1 or from 1 to 3. Please update your configuration."
111 111
   #endif
112 112
 
113
-  #define SERIAL_GET_TX_BUFFER_FREE LCD_SERIAL.availableForWrite
113
+  #define SERIAL_GET_TX_BUFFER_FREE() LCD_SERIAL.availableForWrite()
114 114
 #endif
115 115
 
116 116
 // Set interrupt grouping for this MCU

Ładowanie…
Anuluj
Zapisz