ch_estimation: Fix subframe_config switch in srslte_refsignal_srs_send_cs

master
Ismael Gomez 9 years ago
parent 73c50d3b52
commit ed063b04db

@ -681,13 +681,13 @@ int srslte_refsignal_srs_send_cs(uint32_t subframe_config, uint32_t sf_idx) {
} else {
return 0;
}
} else if (subframe_config == 8) {
} else if (subframe_config == 7) {
if (((sf_idx%tsfc)==0) || ((sf_idx%tsfc)==1)){
return 1;
} else {
return 0;
}
} else if (subframe_config == 9) {
} else if (subframe_config == 8) {
if (((sf_idx%tsfc)==2) || ((sf_idx%tsfc)==3)){
return 1;
} else {

Loading…
Cancel
Save