mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 13:20:39 +00:00
fix compiler warnings
This commit is contained in:
parent
6f7ecb09e3
commit
bfee83c29b
@ -117,6 +117,9 @@ void embedded_set_ticks(uint32_t ticks);
|
||||
// handler of a data source to signal the run loop that a new data
|
||||
// is available.
|
||||
void embedded_trigger(void);
|
||||
// Execute run_loop once
|
||||
// can be used to integrate BTstack's timer and data source processing into a foreign run runloop (not recommended)
|
||||
void embedded_execute_once(void);
|
||||
#endif
|
||||
#if defined __cplusplus
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ extern run_loop_t run_loop_cocoa;
|
||||
#endif
|
||||
|
||||
// assert run loop initialized
|
||||
void run_loop_assert(void){
|
||||
static void run_loop_assert(void){
|
||||
#ifndef EMBEDDED
|
||||
if (!the_run_loop){
|
||||
log_error("ERROR: run_loop function called before run_loop_init!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user