Enable TA commands

This commit is contained in:
Ismael Gomez 2018-05-08 13:47:41 -05:00
parent 352ce4ce04
commit af7a7d4ceb
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ void phy::set_timeadv_rar(uint32_t ta_cmd) {
void phy::set_timeadv(uint32_t ta_cmd) {
uint32_t new_nta = srslte_N_ta_new(n_ta, ta_cmd);
//sf_recv.set_time_adv_sec(((float) new_nta)*SRSLTE_LTE_TS);
sf_recv.set_time_adv_sec(((float) new_nta)*SRSLTE_LTE_TS);
Info("PHY: Set TA: ta_cmd: %d, n_ta: %d, old_n_ta: %d, ta_usec: %.1f\n", ta_cmd, new_nta, n_ta, ((float) new_nta)*SRSLTE_LTE_TS*1e6);
n_ta = new_nta;
}