move declarations out from log.h to a better place

This commit is contained in:
Laurent THOMAS
2024-03-06 08:51:24 +01:00
parent 2129ee3c9c
commit d1002cc729
4 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -1957,7 +1957,7 @@ static int get_mcs_from_sinr(float sinr)
static int get_cqi_from_mcs(void)
{
static const int mcs_to_cqi[] = {0, 1, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15};
assert(NUM_ELEMENTS(mcs_to_cqi) == NUM_MCS);
assert(sizeofArray(mcs_to_cqi) == NUM_MCS);
int sf = 0;
while(sf < NUM_NFAPI_SUBFRAME)
{