mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-12 00:16:42 +02:00
* first refactored version which is accessible through web interface
This commit is contained in:
parent
15402dbd99
commit
3c8a4c49a1
5 changed files with 123 additions and 409 deletions
|
@ -7,10 +7,8 @@
|
|||
#include "app.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "web.h"
|
||||
|
||||
app myApp;
|
||||
web *mWebInst;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
IRAM_ATTR void handleIntr(void) {
|
||||
|
@ -21,7 +19,6 @@ IRAM_ATTR void handleIntr(void) {
|
|||
//-----------------------------------------------------------------------------
|
||||
void setup() {
|
||||
myApp.setup(WIFI_TRY_CONNECT_TIME);
|
||||
mWebInst = new web(&myApp);
|
||||
|
||||
// TODO: move to HmRadio
|
||||
attachInterrupt(digitalPinToInterrupt(myApp.getIrqPin()), handleIntr, FALLING);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue