mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-04 18:06:22 -04:00
bef0b8184e
The channel count comparison in getChannelsByDevice() accidentally used the first plan's channel count for both operands. This caused the comparator to always treat the channel counts as equal and sort only by bandwidth. Use the second plan's channel count when comparing RRTurnPlans so plans are ordered correctly by number of channels before applying the bandwidth tie-breaker. Signed-off-by: Robin Getz <rgetz503@gmail.com>