mycodeplug / dzcb

DMR Zone Channel Builder. See https://github.com/mycodeplug/example-codeplug to customize.
MIT License
12 stars 11 forks source link

Order overall channel list by zone #69

Closed masenf closed 3 years ago

masenf commented 3 years ago

Some radios have limited channel memory and will truncate the channel list, so the channels at the top of the list need to correspond to the zones at the top of the list, or desired zones will end up being pruned because their channels exceed the limit.

masenf commented 3 years ago

i'm actually going to hack this in a slightly different way for now:

new function in dzcb.output.dmrconfig that will limit_channels_by_zone(zones, n_channels), essentially taking the first n_channels from the first N zones.

this sort of aligns with the current contact hack in CodeplugIndex, so I think it makes sense to make this kind of change in CodeplugIndex, a channel hack if you will.