DSR wip still kinda busted (rx packets not working - even for regular router)

This commit is contained in:
geeksville
2020-05-24 12:58:36 -07:00
parent 5bd3e4bcd0
commit 8f1b26bdda
3 changed files with 9 additions and 6 deletions

View File

@@ -67,7 +67,7 @@ bool writecb(pb_ostream_t *stream, const uint8_t *buf, size_t count)
bool is_in_helper(uint32_t n, const uint32_t *array, pb_size_t count)
{
for (int i = 0; i < count; i++)
for (pb_size_t i = 0; i < count; i++)
if (array[i] == n)
return true;