summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extmod/nimble/nimble/nimble_npl_os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/nimble/nimble/nimble_npl_os.h b/extmod/nimble/nimble/nimble_npl_os.h
index 554252066..bfa35d095 100644
--- a/extmod/nimble/nimble/nimble_npl_os.h
+++ b/extmod/nimble/nimble/nimble_npl_os.h
@@ -33,7 +33,7 @@
// --- Configuration of NimBLE data structures --------------------------------
-#define BLE_NPL_OS_ALIGNMENT (4)
+#define BLE_NPL_OS_ALIGNMENT (sizeof(uintptr_t))
#define BLE_NPL_TIME_FOREVER (0xffffffff)
typedef uint32_t ble_npl_time_t;