mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-04 10:38:57 +00:00
lint
This commit is contained in:
parent
071ad7b348
commit
12b9d2b613
@ -652,8 +652,8 @@ size_t RadioInterface::beginSending(meshtastic_MeshPacket *p)
|
|||||||
|
|
||||||
// Copy if size > 0:
|
// Copy if size > 0:
|
||||||
if (p->coverage_filter.size > 0) {
|
if (p->coverage_filter.size > 0) {
|
||||||
memcpy(radioBuffer.header.coverage_filter, p->coverage_filter.bytes,
|
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
|
// if the sender nodenum is zero, that means uninitialized
|
||||||
@ -663,4 +663,4 @@ size_t RadioInterface::beginSending(meshtastic_MeshPacket *p)
|
|||||||
|
|
||||||
sendingPacket = p;
|
sendingPacket = p;
|
||||||
return p->encrypted.size + sizeof(PacketHeader);
|
return p->encrypted.size + sizeof(PacketHeader);
|
||||||
}
|
}
|
@ -35,5 +35,5 @@
|
|||||||
// "USERPREFS_USE_ADMIN_KEY_1": "{}",
|
// "USERPREFS_USE_ADMIN_KEY_1": "{}",
|
||||||
// "USERPREFS_USE_ADMIN_KEY_2": "{}",
|
// "USERPREFS_USE_ADMIN_KEY_2": "{}",
|
||||||
// "USERPREFS_NODEINFO_BROADCAST_CHANNEL_HASH": "8"
|
// "USERPREFS_NODEINFO_BROADCAST_CHANNEL_HASH": "8"
|
||||||
"USERPREFS_USE_COVERAGE_FILTER": "true"
|
"USERPREFS_USE_COVERAGE_FILTER": "true",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user