fix warnings found in nrf52 build

This commit is contained in:
Kevin Hester
2021-03-08 15:20:43 +08:00
parent c0e180759d
commit 707ed75138
4 changed files with 6 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ Channels channels;
uint8_t xorHash(const uint8_t *p, size_t len)
{
uint8_t code = 0;
for (int i = 0; i < len; i++)
for (size_t i = 0; i < len; i++)
code ^= p[i];
return code;
}