Skip to content

Commit

Permalink
Fix wrong polarization value due to missing mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Aug 7, 2024
1 parent 93caa47 commit 25da2c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ca.c
Original file line number Diff line number Diff line change
Expand Up @@ -1809,7 +1809,8 @@ static void parse_operator_tune_descriptor(const uint8_t *descr,
char orb_buf[5];
sprintf(orb_buf, "%02X%02X", descr[6], descr[7]);
out->pos = strtod(orb_buf, NULL) / 10;
out->pol = (descr[8] & 0x60) >> 5;
int pol = (descr[8] & 0x60) >> 5;
out->pol = en300468_pol_map[pol];
out->east_west = descr[8] & (1 << 7) ? 'E' : 'W';

// Delivery system and modulation
Expand Down

0 comments on commit 25da2c7

Please sign in to comment.