beegee3
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
10 deletions
-
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); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|