Browse Source

Fix xon_xoff_state initialization

Scott Lahteine 7 years ago
parent
commit
0ec9a7f090
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/MarlinSerial.cpp

+ 1
- 1
Marlin/MarlinSerial.cpp View File

@@ -60,12 +60,12 @@
60 60
   #endif
61 61
 
62 62
   #if ENABLED(SERIAL_XON_XOFF)
63
-    uint8_t xon_xoff_state = XON_XOFF_CHAR_SENT | XON_CHAR;
64 63
     constexpr uint8_t XON_XOFF_CHAR_SENT = 0x80;  // XON / XOFF Character was sent
65 64
     constexpr uint8_t XON_XOFF_CHAR_MASK = 0x1F;  // XON / XOFF character to send
66 65
     // XON / XOFF character definitions
67 66
     constexpr uint8_t XON_CHAR  = 17;
68 67
     constexpr uint8_t XOFF_CHAR = 19;
68
+    uint8_t xon_xoff_state = XON_XOFF_CHAR_SENT | XON_CHAR;
69 69
   #endif
70 70
 
71 71
   #if ENABLED(SERIAL_STATS_DROPPED_RX)

Loading…
Cancel
Save