Do not reset radio on srsUE receive error

This commit is contained in:
Ismael Gomez 2017-09-29 13:39:18 +02:00
parent 9437731c00
commit 32a29f1d34
1 changed files with 7 additions and 1 deletions

View File

@ -168,7 +168,13 @@ void phch_recv::radio_error() {
log_h->error("SYNC: Receiving from radio.\n");
phy_state = IDLE;
radio_is_resetting=true;
radio_h->reset();
// Need to find a method to effectively reset radio, reloading the driver does not work
//radio_h->reset();
fprintf(stdout, "Error while receiving samples. Restart srsUE\n");
exit(-1);
reset();
radio_is_resetting=false;
}