mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-07 09:55:45 +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>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_WICED
|
||||
#include "wiced.h"
|
||||
#endif
|
||||
|
||||
#if defined __cplusplus
|
||||
extern "C" {
|
||||
#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
|
||||
*/
|
||||
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
|
||||
|
||||
/* API_END */
|
||||
|
Loading…
Reference in New Issue
Block a user