Warn on radio2 spectral overlap and suggest a clear center

This commit is contained in:
mikecarper committed 2026-10-19 10:44:39 -07:00
1 parent 3c00a3e43d
commit d34d84460b
12 files changed
+650 -43

No files matched your search

+3 -2
View File
@@ -1,5 +1,6 @@
#include <helpers/BaseChatMesh.h>
#include <helpers/ContactListOrder.h>
#include <helpers/SmallTableSort.h>
#include <helpers/RemoteCliRequest.h>
#include <helpers/RemoteCliTimeout.h>
#include <Utils.h>
@@ -1068,8 +1069,8 @@ void BaseChatMesh::scanRecentContacts(int last_n, ContactVisitor* visitor) {
sort_array[i] = i;
}
table = contacts; // pass via global *sigh* :-(
qsort(sort_array, num_contacts, sizeof(sort_array[0]),
cmp_contact_list_order);
mesh::sortSmallTable(sort_array, num_contacts, sizeof(sort_array[0]),
cmp_contact_list_order);
if (last_n == 0) {
last_n = num_contacts; // scan ALL