examples/nimble: fix assertion during pthread create with zero priority

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-07-13 23:20:28 +03:00 committed by Xiang Xiao
parent 4df395bfc4
commit 355153cff5

View File

@ -59,7 +59,7 @@
/* Not used now */ /* Not used now */
#define TASK_DEFAULT_PRIORITY 0 #define TASK_DEFAULT_PRIORITY CONFIG_EXAMPLES_NIMBLE_PRIORITY
#define TASK_DEFAULT_STACK NULL #define TASK_DEFAULT_STACK NULL
#define TASK_DEFAULT_STACK_SIZE 0 #define TASK_DEFAULT_STACK_SIZE 0
@ -67,7 +67,7 @@
* External Functions Prototypes * External Functions Prototypes
****************************************************************************/ ****************************************************************************/
void ble_hci_sock_ack_handler(void *param); void ble_hci_sock_ack_handler(FAR void *param);
void ble_hci_sock_init(void); void ble_hci_sock_init(void);
void ble_hci_sock_set_device(int dev); void ble_hci_sock_set_device(int dev);