Limit bandmap_lookup to the list of displayed spots#507
Limit bandmap_lookup to the list of displayed spots#507dl1jbe wants to merge 6 commits intoTlf:masterfrom
Conversation
|
A quick hack to limit the search in 'bandmap_lookup()' to the displayed list of spots. May need some more love. |
|
Looks good, thanks. Not sure whether the start/stop variables need to be protected by the mutex as grabbing happens in the main thread. Also keeping 'i < spots->len' would not hurt. |
Yes, 'spots' array and the variables needs to stay in sync. But we can not just wrap the whole bandmap_show() by the mutex as it is already used in filter_spots() and the mutex can not be used recursive. I will look into the problem - just give me time till Sunday. There are some more minor changes needed in bandmap.c anyway. |
|
Besides some refactoring of the range calculation and the final spot display it should be correct now. |




No description provided.