Browse Source

Actually apply DGUS_[RT]X_BUFFER_SIZE (#17952)

Desuuuu 4 years ago
parent
commit
fcd1678a17
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/HAL/AVR/MarlinSerial.h

+ 2
- 2
Marlin/src/HAL/AVR/MarlinSerial.h View File

@@ -299,8 +299,8 @@
299 299
   template <uint8_t serial>
300 300
   struct MarlinInternalSerialCfg {
301 301
     static constexpr int PORT               = serial;
302
-    static constexpr unsigned int RX_SIZE   = 128;
303
-    static constexpr unsigned int TX_SIZE   = 48;
302
+    static constexpr unsigned int RX_SIZE   = DGUS_RX_BUFFER_SIZE;
303
+    static constexpr unsigned int TX_SIZE   = DGUS_TX_BUFFER_SIZE;
304 304
     static constexpr bool XONOFF            = false;
305 305
     static constexpr bool EMERGENCYPARSER   = false;
306 306
     static constexpr bool DROPPED_RX        = false;

Loading…
Cancel
Save