mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-02 07:20:16 +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
|
// handler of a data source to signal the run loop that a new data
|
||||||
// is available.
|
// is available.
|
||||||
void embedded_trigger(void);
|
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
|
#endif
|
||||||
#if defined __cplusplus
|
#if defined __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@ extern run_loop_t run_loop_cocoa;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// assert run loop initialized
|
// assert run loop initialized
|
||||||
void run_loop_assert(void){
|
static void run_loop_assert(void){
|
||||||
#ifndef EMBEDDED
|
#ifndef EMBEDDED
|
||||||
if (!the_run_loop){
|
if (!the_run_loop){
|
||||||
log_error("ERROR: run_loop function called before run_loop_init!");
|
log_error("ERROR: run_loop function called before run_loop_init!");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user