update ble lib
This commit is contained in:
6
main.cpp
6
main.cpp
@@ -1,5 +1,5 @@
|
||||
#include "Arduino.h"
|
||||
#include "Nuki.h"
|
||||
#include "NukiWrapper.h"
|
||||
#include "Network.h"
|
||||
#include "WebCfgServer.h"
|
||||
#include <FreeRTOS.h>
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
Network* network;
|
||||
WebCfgServer* webCfgServer;
|
||||
Nuki* nuki;
|
||||
NukiWrapper* nuki;
|
||||
Preferences* preferences;
|
||||
|
||||
void networkTask(void *pvParameters)
|
||||
@@ -39,7 +39,7 @@ void setup()
|
||||
preferences = new Preferences();
|
||||
preferences->begin("nukihub", false);
|
||||
network = new Network(preferences);
|
||||
nuki = new Nuki("Main Door", 2020001, network, preferences);
|
||||
nuki = new NukiWrapper("Main Door", 2020001, network, preferences);
|
||||
webCfgServer = new WebCfgServer(nuki, network, preferences);
|
||||
|
||||
network->initialize();
|
||||
|
||||
Reference in New Issue
Block a user