summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 593e01ed..062a36e4 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -79,6 +79,8 @@ void SystemTask_PushMessage(SystemTaskMessages message) {
}
// TODO The whole SystemTask should go in its own class
+// BUT... it has to work with pure C callback (nrfx_gpiote_evt_handler) and i've still not found
+// a good design for that (the callback does not allow to pass a pointer to an instance...)
void SystemTask(void *) {
APP_GPIOTE_INIT(2);
bool erase_bonds=false;