Commit 633480f02992889becaa99f9b530c58ef5a2dba5

Authored by Antonio Carlos Domínguez Brito
1 parent 4a3e8614
Exists in master

clean out comments in rx_interrupt

Showing 2 changed files with 1 additions and 7 deletions   Show diff stats
examples/echo_test/echo_test.ino
... ... @@ -66,5 +66,6 @@ void loop()
66 66 auto data=serial_obj.read();
67 67 if(data>=0)
68 68 serial_obj.write(static_cast<uint8_t>(data&0xff));
  69 + }
69 70 }
70 71  
... ...
soft_uart.h
... ... @@ -1093,13 +1093,6 @@ namespace arduino_due
1093 1093 rx_interrupt_counter=0;
1094 1094  
1095 1095 if(tx_status==tx_status_codes::IDLE) start_tc_interrupts();
1096   - //else
1097   - //{
1098   - // register uint32_t timer_value=
1099   - // TC_ReadCV(timer_p->tc_p,timer_p->channel);
1100   -
1101   - // if(timer_value>=(bit_1st_half>>1)) rx_interrupt_counter=0;
1102   - //}
1103 1096 }
1104 1097 break;
1105 1098  
... ...