summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2020-08-17 18:12:20 +1000
committerDamien George <damien@micropython.org>2020-09-08 11:41:31 +1000
commit5b08676d6a644487c4ec6f63aef02888f8da8b19 (patch)
treeda7d73d34c53768c3573afe6639cc7842781f82c
parented14435a8e6199b845c3404a9052f9ff4213292c (diff)
extmod/nimble: Set struct alignment correctly on 64-bit arch.
-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;