diff --git a/src/run_loop.h b/src/run_loop.h index 66881573c..063bc6e64 100644 --- a/src/run_loop.h +++ b/src/run_loop.h @@ -54,6 +54,10 @@ #include #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 */