summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoruvok2025-07-20 10:38:45 +0200
committeruvok2025-07-20 10:38:45 +0200
commitf5794c6f8b8a1f736ea7a524e72aed46baba4bd6 (patch)
tree3cc86e83f5d45346402fa59b7b71307930e30a75 /include
parentad7f1107328fdd69aa7b808c904df2b052807bbf (diff)
Implement BLE callbacks
also, extract image config
Diffstat (limited to 'include')
-rw-r--r--include/badge/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/badge/util.h b/include/badge/util.h
new file mode 100644
index 0000000..a70b018
--- /dev/null
+++ b/include/badge/util.h
@@ -0,0 +1,3 @@
+#pragma once
+
+#define ARRAY_LENGTH(arr) (sizeof(arr)/sizeof(arr[0]))