Browse Source

Fix STM32F1 SERIAL_GET_TX_BUFFER_FREE

Scott Lahteine 4 years ago
parent
commit
a3f6e48eb6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/HAL/STM32F1/HAL.h

+ 1
- 1
Marlin/src/HAL/STM32F1/HAL.h View File

110
     #error "LCD_SERIAL_PORT must be -1 or from 1 to 3. Please update your configuration."
110
     #error "LCD_SERIAL_PORT must be -1 or from 1 to 3. Please update your configuration."
111
   #endif
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
 #endif
114
 #endif
115
 
115
 
116
 // Set interrupt grouping for this MCU
116
 // Set interrupt grouping for this MCU

Loading…
Cancel
Save