Closed InverseRE closed 5 years ago
scheduling_tasks.txt:60
BUG: seems like tx/rx is good, but response packets do not get client back.
a test for the transmit complete flag(TXC0)
void sleep()
{
// ...
if (Serial.avaliable) {
return;
} else {
Serial.end()
}
// ...
Serial.begin()
}
===>
HardwareSerial.cpp:417
void Serial.transmit_complete()
{
while (_tx_buffer->head != _tx_buffer->tail);
}
Serv-task should be in a wait mode. Ref #25 Commit 000d619 Commit 7788295