File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 20
20
#include " TaskWifi.h"
21
21
#include " project_configuration.h"
22
22
23
- #define VERSION " 22.13.3 "
23
+ #define VERSION " 22.14.0 "
24
24
#define MODULE_NAME " Main"
25
25
26
26
String create_lat_aprs (double lat);
@@ -113,14 +113,15 @@ void setup() {
113
113
114
114
if (userConfig.wifi .active ) {
115
115
LoRaSystem.getTaskManager ().addAlwaysRunTask (&wifiTask);
116
- LoRaSystem.getTaskManager ().addTask (&otaTask);
117
116
tcpip = true ;
118
- } else if (boardConfig->Type == eETH_BOARD) {
117
+ }
118
+ if (boardConfig->Type == eETH_BOARD) {
119
119
LoRaSystem.getTaskManager ().addAlwaysRunTask (ðTask);
120
120
tcpip = true ;
121
121
}
122
122
123
123
if (tcpip) {
124
+ LoRaSystem.getTaskManager ().addTask (&otaTask);
124
125
LoRaSystem.getTaskManager ().addTask (&ntpTask);
125
126
if (userConfig.ftp .active ) {
126
127
LoRaSystem.getTaskManager ().addTask (&ftpTask);
You can’t perform that action at this time.
0 commit comments