refactor: add populateContactFromAdvert()

Этот коммит содержится в:
taco
2026-01-15 18:01:20 +11:00
родитель 403ce1db08
Коммит 741564dd48
2 изменённых файлов: 29 добавлений и 38 удалений
+1
Просмотреть файл
@@ -89,6 +89,7 @@ protected:
}
void resetContacts() { num_contacts = 0; }
void populateContactFromAdvert(ContactInfo& ci, const mesh::Identity& id, const AdvertDataParser& parser, uint32_t timestamp);
ContactInfo* allocateContactSlot(); // helper to find slot for new contact
// 'UI' concepts, for sub-classes to implement