ch_estimation: Fix subframe_config switch in srslte_refsignal_srs_send_cs

This commit is contained in:
Ismael Gomez 2016-04-25 22:15:52 +02:00
parent 73c50d3b52
commit ed063b04db
1 changed files with 2 additions and 2 deletions

View File

@ -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 {