summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-01-18 14:28:13 +0100
committerJF <jf@codingfield.com>2020-01-18 14:28:13 +0100
commit6ca081739e57f5171f05dc18cca66d12a4911c39 (patch)
treecf054d679b302195f93a1b93358468a0a9dee43f /src/main.cpp
parentb34ff32f76f355866c3bd267dcc687c0d1958d29 (diff)
Update comment about system task
Diffstat (limited to 'src/main.cpp')
-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;