kopia lustrzana https://github.com/sh123/esp32_loraprs
Fix two warnings
rodzic
84ca72ede1
commit
7c9885623c
|
@ -1,4 +1,4 @@
|
|||
#include <timer.h>
|
||||
#include <arduino-timer.h>
|
||||
#include "WiFi.h"
|
||||
#include "loraprs_service.h"
|
||||
|
||||
|
|
|
@ -136,9 +136,7 @@ void Service::setupBt(const String &btName)
|
|||
}
|
||||
|
||||
void Service::loop()
|
||||
{
|
||||
long r = random(0, 255);
|
||||
|
||||
{
|
||||
if (needsWifi() && WiFi.status() != WL_CONNECTED) {
|
||||
reconnectWifi();
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue