Browse Source

deleted double used comments

Lukas Abfalterer 8 years ago
parent
commit
83795d3e63
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      Marlin/MarlinSerial.cpp

+ 0
- 4
Marlin/MarlinSerial.cpp View File

137
   // occurs after reading the value of rx_buffer_head but before writing
137
   // occurs after reading the value of rx_buffer_head but before writing
138
   // the value to rx_buffer_tail; the previous value of rx_buffer_head
138
   // the value to rx_buffer_tail; the previous value of rx_buffer_head
139
   // may be written to rx_buffer_tail, making it appear as if the buffer
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
   // were full, not empty.
140
   // were full, not empty.
145
   CRITICAL_SECTION_START;
141
   CRITICAL_SECTION_START;
146
     rx_buffer.head = rx_buffer.tail;
142
     rx_buffer.head = rx_buffer.tail;

Loading…
Cancel
Save