Преглед изворни кода

deleted double used comments

Lukas Abfalterer пре 8 година
родитељ
комит
83795d3e63
1 измењених фајлова са 0 додато и 4 уклоњено
  1. 0
    4
      Marlin/MarlinSerial.cpp

+ 0
- 4
Marlin/MarlinSerial.cpp Прегледај датотеку

@@ -137,10 +137,6 @@ void MarlinSerial::flush() {
137 137
   // occurs after reading the value of rx_buffer_head but before writing
138 138
   // the value to rx_buffer_tail; the previous value of rx_buffer_head
139 139
   // may be written to rx_buffer_tail, making it appear as if the buffer
140
-  // don't reverse this or there may be problems if the RX interrupt
141
-  // occurs after reading the value of rx_buffer_head but before writing
142
-  // the value to rx_buffer_tail; the previous value of rx_buffer_head
143
-  // may be written to rx_buffer_tail, making it appear as if the buffer
144 140
   // were full, not empty.
145 141
   CRITICAL_SECTION_START;
146 142
     rx_buffer.head = rx_buffer.tail;

Loading…
Откажи
Сачувај