mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-05 14:37:05 +00:00
1.2
This commit is contained in:
parent
a8f013ba7d
commit
35499c36c6
11 changed files with 58 additions and 64 deletions
|
|
@ -48,7 +48,7 @@ namespace Utils {
|
|||
|
||||
void processStatus() {
|
||||
String status = Config.callsign + ">APLRG1";
|
||||
if (stationMode==1 || stationMode==2) {
|
||||
if (stationMode==1 || stationMode==2 || (stationMode==5 && WiFi.status() == WL_CONNECTED)) {
|
||||
delay(1000);
|
||||
status += ",qAC:>https://github.com/richonguzman/LoRa_APRS_iGate " + versionDate ;
|
||||
espClient.write((status + "\n").c_str());
|
||||
|
|
@ -189,7 +189,7 @@ void checkDisplayInterval() {
|
|||
|
||||
void checkWiFiInterval() {
|
||||
uint32_t WiFiCheck = millis() - lastWiFiCheck;
|
||||
if (WiFi.status() != WL_CONNECTED && WiFiCheck >= Config.lastWiFiCheck*60*1000) {
|
||||
if (WiFi.status() != WL_CONNECTED && WiFiCheck >= 15*60*1000) {
|
||||
WiFiConnect = true;
|
||||
}
|
||||
if (WiFiConnect) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue