Compilable version with wifi support - need to test
This commit is contained in:
12
include/setup.cpp
Normal file
12
include/setup.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "setup.hpp"
|
||||
#include "BLE.hpp"
|
||||
#include "WiFi.hpp"
|
||||
|
||||
void initialSetup() {
|
||||
NimBLEAdvertising* pAdv = initBLE();
|
||||
|
||||
while (1) { // try to connect to wifi too.
|
||||
BLEtick(pAdv);
|
||||
vTaskDelay(pdMS_TO_TICKS(10));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user