You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2023/07/08 20:08:14 UTC
[mynewt-nimble] 01/02: porting/examples/nuttx: align parameters passed to ble_npl_task_init()
This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit a0f74cd1812423006e6700c05bbe5b07c9ff8881
Author: Petro Karashchenko <pe...@gmail.com>
AuthorDate: Fri Jul 7 19:46:14 2023 +0300
porting/examples/nuttx: align parameters passed to ble_npl_task_init()
Signed-off-by: Petro Karashchenko <pe...@gmail.com>
---
porting/examples/nuttx/main.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/porting/examples/nuttx/main.c b/porting/examples/nuttx/main.c
index 9eeddec8..7e289be7 100644
--- a/porting/examples/nuttx/main.c
+++ b/porting/examples/nuttx/main.c
@@ -111,8 +111,8 @@ int main(int argc, char *argv[])
printf("hci_sock task init\n");
ret = ble_npl_task_init(&s_task_hci, "hci_sock", ble_hci_sock_task,
- NULL, TASK_DEFAULT_PRIORITY, BLE_NPL_TIME_FOREVER,
- TASK_DEFAULT_STACK, TASK_DEFAULT_STACK_SIZE);
+ NULL, TASK_DEFAULT_PRIORITY, BLE_NPL_TIME_FOREVER,
+ TASK_DEFAULT_STACK, TASK_DEFAULT_STACK_SIZE);
if (ret != 0)
{
@@ -122,8 +122,8 @@ int main(int argc, char *argv[])
/* Create task which handles default event queue for host stack. */
printf("ble_host task init\n");
ret = ble_npl_task_init(&s_task_host, "ble_host", ble_host_task,
- NULL, TASK_DEFAULT_PRIORITY, BLE_NPL_TIME_FOREVER,
- TASK_DEFAULT_STACK, TASK_DEFAULT_STACK_SIZE);
+ NULL, TASK_DEFAULT_PRIORITY, BLE_NPL_TIME_FOREVER,
+ TASK_DEFAULT_STACK, TASK_DEFAULT_STACK_SIZE);
if (ret != 0)