This commit is contained in:
medentem 2025-01-03 15:10:07 -06:00
parent 071ad7b348
commit 12b9d2b613
2 changed files with 5 additions and 5 deletions

View File

@ -653,7 +653,7 @@ size_t RadioInterface::beginSending(meshtastic_MeshPacket *p)
// Copy if size > 0:
if (p->coverage_filter.size > 0) {
memcpy(radioBuffer.header.coverage_filter, p->coverage_filter.bytes,
std::min<size_t>(p->coverage_filter.size, BLOOM_FILTER_SIZE_BYTES));
std::min<size_t>(p->coverage_filter.size, BLOOM_FILTER_SIZE_BYTES));
}
// if the sender nodenum is zero, that means uninitialized

View File

@ -35,5 +35,5 @@
// "USERPREFS_USE_ADMIN_KEY_1": "{}",
// "USERPREFS_USE_ADMIN_KEY_2": "{}",
// "USERPREFS_NODEINFO_BROADCAST_CHANNEL_HASH": "8"
"USERPREFS_USE_COVERAGE_FILTER": "true"
"USERPREFS_USE_COVERAGE_FILTER": "true",
}