add reference to external Scheduler and update library dependencies
This commit is contained in:
parent
252e01b8cf
commit
7d8fe613f0
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Wifi",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"description": "Helper classes for handling wifi connectiviy and OTA",
|
||||
"repository":
|
||||
{
|
||||
@ -15,6 +15,9 @@
|
||||
"maintainer": true
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"arkhipenko/TaskScheduler": "^3.8.5"
|
||||
},
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"platforms": "*"
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
#include <ArduinoOTA.h>
|
||||
#include <TaskScheduler.h>
|
||||
|
||||
extern Scheduler ts;
|
||||
|
||||
namespace Ota {
|
||||
|
||||
|
||||
@ -1,7 +1,10 @@
|
||||
#include <ESP8266WiFi.h>
|
||||
#include <ESP8266mDNS.h>
|
||||
#include <TaskScheduler.h>
|
||||
#include "credentials.h"
|
||||
|
||||
extern Scheduler ts;
|
||||
|
||||
namespace Wifi {
|
||||
|
||||
WiFiEventHandler stationConnectedHandler;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user