Skip to content

Commit

Permalink
Just put LFR frequency channel in SY_LFR_KCOEFF_BIN_INDEX
Browse files Browse the repository at this point in the history
Increasing max value in IDB has been rejected. This allows to stay inside
the allowed range [0->35].

Signed-off-by: Alexis Jeandet <[email protected]>
  • Loading branch information
jeandet committed Jan 13, 2023
1 parent 876997a commit 47bcc3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tc_tm/tc_load_dump_parameters.c
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ int action_dump_kcoefficients(
kCoeffDumpPtr = kcoefficients_dump_1.kcoeff_blks;
for (int freq = 0; freq <= NB_BINS_COMPRESSED_SM_F0; freq++)
{
uint16_t bin = freq * NB_BINS_TO_AVERAGE_ASM_F0;
uint16_t bin = 0;
copyInt16ByChar(kCoeffDumpPtr, (unsigned char*)(&bin));
kCoeffDumpPtr += 2;
memcpy(kCoeffDumpPtr,
Expand All @@ -554,7 +554,7 @@ int action_dump_kcoefficients(
}
for (int freq = 0; freq <= NB_BINS_COMPRESSED_SM_F1; freq++)
{
uint16_t bin = freq * NB_BINS_TO_AVERAGE_ASM_F1;
uint16_t bin = 1;
copyInt16ByChar(kCoeffDumpPtr, (unsigned char*)(&bin));
kCoeffDumpPtr += 2;
memcpy(kCoeffDumpPtr,
Expand Down Expand Up @@ -596,7 +596,7 @@ int action_dump_kcoefficients(
kCoeffDumpPtr = kcoefficients_dump_2.kcoeff_blks;
for (int freq = 0; freq <= NB_BINS_COMPRESSED_SM_F2; freq++)
{
uint16_t bin = freq * NB_BINS_TO_AVERAGE_ASM_F2;
uint16_t bin = 2;
copyInt16ByChar(kCoeffDumpPtr, (unsigned char*)(&bin));
kCoeffDumpPtr += 2;
memcpy(kCoeffDumpPtr,
Expand Down

0 comments on commit 47bcc3a

Please sign in to comment.