start msg sequence numbers with a random number each boot

This commit is contained in:
geeksville
2020-05-01 08:51:53 -07:00
parent 31eb2f5337
commit 5a4fab2506
5 changed files with 14 additions and 4 deletions

View File

@@ -164,6 +164,8 @@ void axp192Init()
void esp32Setup()
{
randomSeed(esp_random()); // ESP docs say this is fairly random
#ifdef AXP192_SLAVE_ADDRESS
axp192Init();
#endif