You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2018/03/12 13:38:03 UTC

[mynewt-nimble] 29/32: nimble/ll: Use OS_TASK_STACK_DEFINE to init ble_ll stack

This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch new-master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 7925ccfb83cd15e0bbb9455e8558884ac01103bf
Author: Ɓukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Thu Mar 8 14:50:24 2018 +0100

    nimble/ll: Use OS_TASK_STACK_DEFINE to init ble_ll stack
    
    This will assure correct aligment
    
    X-Original-Commit: f217015c76f8e2e26a68cc0126f8f9994c96d10f
---
 nimble/controller/src/ble_ll.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nimble/controller/src/ble_ll.c b/nimble/controller/src/ble_ll.c
index 23d8d78..a1775c1 100644
--- a/nimble/controller/src/ble_ll.c
+++ b/nimble/controller/src/ble_ll.c
@@ -217,7 +217,8 @@ static void ble_ll_event_dbuf_overflow(struct os_event *ev);
 #endif
 
 struct os_task g_ble_ll_task;
-os_stack_t g_ble_ll_stack[BLE_LL_STACK_SIZE];
+
+OS_TASK_STACK_DEFINE(g_ble_ll_stack, BLE_LL_STACK_SIZE);
 
 /** Our global device address (public) */
 uint8_t g_dev_addr[BLE_DEV_ADDR_LEN];

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.