Skip to content

Commit

Permalink
Fixed MCCH table generation for r16
Browse files Browse the repository at this point in the history
  • Loading branch information
kuehnhammer committed Oct 3, 2023
1 parent 36dac7a commit fcd519d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/common/gen_mch_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void generate_mcch_table(uint8_t* table, uint32_t sf_alloc)

void generate_mcch_table_r16(uint8_t* table, uint32_t alloc)
{
for (uint32_t j = 0; j < 9; j++) {
table[10-j] = (alloc >> j) & 0x01;
for (uint32_t j = 0; j < 10; j++) {
table[9-j] = (alloc >> j) & 0x01;
}
}

0 comments on commit fcd519d

Please sign in to comment.