mirror of https://github.com/PentHertz/srsLTE.git
Do not reset radio on srsUE receive error
This commit is contained in:
parent
9437731c00
commit
32a29f1d34
|
@ -168,7 +168,13 @@ void phch_recv::radio_error() {
|
||||||
log_h->error("SYNC: Receiving from radio.\n");
|
log_h->error("SYNC: Receiving from radio.\n");
|
||||||
phy_state = IDLE;
|
phy_state = IDLE;
|
||||||
radio_is_resetting=true;
|
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();
|
reset();
|
||||||
radio_is_resetting=false;
|
radio_is_resetting=false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue