Skip to content

Commit

Permalink
Merge pull request #186 from lora-aprs/fix-ota
Browse files Browse the repository at this point in the history
Fix ota
  • Loading branch information
peterus authored Apr 7, 2022
2 parents bad6bff + 42cd9a3 commit a599eda
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/LoRa_APRS_iGate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "TaskWifi.h"
#include "project_configuration.h"

#define VERSION "22.13.3"
#define VERSION "22.14.0"
#define MODULE_NAME "Main"

String create_lat_aprs(double lat);
Expand Down Expand Up @@ -113,14 +113,15 @@ void setup() {

if (userConfig.wifi.active) {
LoRaSystem.getTaskManager().addAlwaysRunTask(&wifiTask);
LoRaSystem.getTaskManager().addTask(&otaTask);
tcpip = true;
} else if (boardConfig->Type == eETH_BOARD) {
}
if (boardConfig->Type == eETH_BOARD) {
LoRaSystem.getTaskManager().addAlwaysRunTask(&ethTask);
tcpip = true;
}

if (tcpip) {
LoRaSystem.getTaskManager().addTask(&otaTask);
LoRaSystem.getTaskManager().addTask(&ntpTask);
if (userConfig.ftp.active) {
LoRaSystem.getTaskManager().addTask(&ftpTask);
Expand Down

0 comments on commit a599eda

Please sign in to comment.