Переглянути джерело

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;

Завантаження…
Відмінити
Зберегти