working afsk receive
This commit is contained in:
		
							parent
							
								
									d8fba41a6f
								
							
						
					
					
						commit
						ca5f4002ea
					
				| 
						 | 
					@ -279,7 +279,6 @@ bool AFSK::Decoder::read() {
 | 
				
			||||||
  while(rx_fifo.count()) {
 | 
					  while(rx_fifo.count()) {
 | 
				
			||||||
    // Grab the character
 | 
					    // Grab the character
 | 
				
			||||||
    char c = rx_fifo.dequeue();
 | 
					    char c = rx_fifo.dequeue();
 | 
				
			||||||
	//Serial.println(c);
 | 
					 | 
				
			||||||
    bool escaped = false;
 | 
					    bool escaped = false;
 | 
				
			||||||
    if(c == HDLC_ESCAPE) { // We received an escaped byte, mark it
 | 
					    if(c == HDLC_ESCAPE) { // We received an escaped byte, mark it
 | 
				
			||||||
      escaped = true;
 | 
					      escaped = true;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue