Skip to content

Commit

Permalink
🩹 Fix LCD getFreeTxBuffer typo
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed May 22, 2024
1 parent 78d3cf1 commit ca31f97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/lcd/extui/dgus_e3s1pro/DGUSDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@ void DGUSDisplay::processRx() {

size_t DGUSDisplay::getFreeTxBuffer() {
return (
#ifdef LCD_SERIAL_GET_TX_BUFFER_FREE
LCD_SERIAL_GET_TX_BUFFER_FREE()
#ifdef LCD_SERIAL_TX_BUFFER_FREE
LCD_SERIAL_TX_BUFFER_FREE()
#else
SIZE_MAX
#endif
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/lcd/extui/dgus_reloaded/DGUSDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ void DGUSDisplay::processRx() {

size_t DGUSDisplay::getFreeTxBuffer() {
return (
#ifdef LCD_SERIAL_GET_TX_BUFFER_FREE
LCD_SERIAL_GET_TX_BUFFER_FREE()
#ifdef LCD_SERIAL_TX_BUFFER_FREE
LCD_SERIAL_TX_BUFFER_FREE()
#else
SIZE_MAX
#endif
Expand Down

0 comments on commit ca31f97

Please sign in to comment.