From 5b08676d6a644487c4ec6f63aef02888f8da8b19 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Mon, 17 Aug 2020 18:12:20 +1000 Subject: [PATCH] extmod/nimble: Set struct alignment correctly on 64-bit arch. --- extmod/nimble/nimble/nimble_npl_os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extmod/nimble/nimble/nimble_npl_os.h b/extmod/nimble/nimble/nimble_npl_os.h index 5542520661..bfa35d0952 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;