mirror of
https://github.com/OpenMANET/morse-feed.git
synced 2025-12-10 18:45:03 -06:00
morse-regdb: APP-3508: (PR #875) Fix 1M channel primary channel error
For a 1Mhz operating channel, the primary channel idx should be "0", not the channel number. This was not causing a bug as the primary channel is not used for 1Mhz operating channels. Approved-by: Sophronia Koilpillai Approved-by: James Haggerty
This commit is contained in:
parent
4142d69705
commit
9cc09a8fdf
@ -59,6 +59,6 @@ for country, rows in by_country.items():
|
|||||||
assert allowed_primary_indexes, f"No allowed primaries for {country}, {row['s1g_chan']}"
|
assert allowed_primary_indexes, f"No allowed primaries for {country}, {row['s1g_chan']}"
|
||||||
row["bw2m_s1g_prim_1mhz_chan_index"] = "|".join(map(str, allowed_primary_indexes))
|
row["bw2m_s1g_prim_1mhz_chan_index"] = "|".join(map(str, allowed_primary_indexes))
|
||||||
else:
|
else:
|
||||||
row["s1g_prim_1mhz_chan_index"] = row["s1g_chan"]
|
row["s1g_prim_1mhz_chan_index"] = "0"
|
||||||
|
|
||||||
dw.writerow(row)
|
dw.writerow(row)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user