#222 fix incorrect PUCCH format when sending SR in TDD

This commit is contained in:
Wilson Thong
2017-03-28 10:42:22 +08:00
parent a77082c1ed
commit 002b9b0f65
+7 -1
View File
@@ -633,7 +633,13 @@ PUCCH_FMT_t get_pucch_format(lte_frame_type_t frame_type,
}
if(SR_payload == 1)
{
return pucch_format1;
if (frame_type == FDD) {
return pucch_format1;
} else if (frame_type == TDD) {
return pucch_format1b;
} else {
AssertFatal(1==0,"Unknown frame_type");
}
}
}
else