mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
use wiced_result_t for run on main loop
This commit is contained in:
parent
e3a4bf259b
commit
ece6d390b1
@ -54,6 +54,10 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_WICED
|
||||||
|
#include "wiced.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined __cplusplus
|
#if defined __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@ -158,7 +162,7 @@ void embedded_execute_once(void);
|
|||||||
/*
|
/*
|
||||||
* @brief Execute code on BTsatck run loop. Can be used to control BTstack from a different thread
|
* @brief Execute code on BTsatck run loop. Can be used to control BTstack from a different thread
|
||||||
*/
|
*/
|
||||||
void wiced_execute_code_on_run_loop(void (*fn)(void *arg), void * arg);
|
void wiced_execute_code_on_run_loop(wiced_result_t (*fn)(void *arg), void * arg);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* API_END */
|
/* API_END */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user