Browse Source

Update main.cpp

pull/652/head
beegee3 2 years ago
committed by GitHub
parent
commit
447a43388e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/main.cpp

10
src/main.cpp

@ -7,21 +7,11 @@
#include "app.h"
#include "config/config.h"
app myApp;
//-----------------------------------------------------------------------------
IRAM_ATTR void handleIntr(void) {
myApp.handleIntr();
}
//-----------------------------------------------------------------------------
void setup() {
myApp.setup();
// TODO: move to HmRadio
attachInterrupt(digitalPinToInterrupt(myApp.getIrqPin()), handleIntr, FALLING);
}

Loading…
Cancel
Save