Fix default OTA port

This commit is contained in:
fvanroie 2021-06-14 21:15:47 +02:00
parent 2845083829
commit 0d4209d9a6
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@
#include <ESP8266WiFi.h>
#include <ArduinoOTA.h>
#ifndef HASP_OTA_PORT
#define HASP_OTA_PORT 3232
#define HASP_OTA_PORT 8266
#endif
#endif
@ -27,7 +27,7 @@
#include <WiFi.h>
#include <ArduinoOTA.h>
#ifndef HASP_OTA_PORT
#define HASP_OTA_PORT 8266
#define HASP_OTA_PORT 3232
#endif
/**

View File

@ -6,11 +6,11 @@
#ifndef HASP_OTA_H
#define HASP_OTA_H
#include "hasp_conf.h"
#include "ArduinoJson.h"
#include <ArduinoOTA.h>
#include "hasplib.h"
/* ===== Default Event Processors ===== */
#if HASP_USE_OTA > 0
void otaSetup(void);