mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-26 09:41:01 +00:00
fix conditional compile and prototypes
This commit is contained in:
parent
d18a147f75
commit
4c642b9a5c
@ -60,8 +60,9 @@
|
|||||||
// the run loop
|
// the run loop
|
||||||
static linked_list_t data_sources;
|
static linked_list_t data_sources;
|
||||||
|
|
||||||
#ifdef HAVE_TICK
|
|
||||||
static linked_list_t timers;
|
static linked_list_t timers;
|
||||||
|
|
||||||
|
#ifdef HAVE_TICK
|
||||||
static uint32_t system_ticks;
|
static uint32_t system_ticks;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -118,7 +119,7 @@ int embedded_remove_timer(timer_source_t *ts){
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void embedded_dump_timer(){
|
void embedded_dump_timer(void){
|
||||||
#ifdef ENABLE_LOG_INFO
|
#ifdef ENABLE_LOG_INFO
|
||||||
linked_item_t *it;
|
linked_item_t *it;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
@ -132,7 +133,7 @@ void embedded_dump_timer(){
|
|||||||
/**
|
/**
|
||||||
* Execute run_loop
|
* Execute run_loop
|
||||||
*/
|
*/
|
||||||
void embedded_execute() {
|
void embedded_execute(void) {
|
||||||
data_source_t *ds;
|
data_source_t *ds;
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
@ -186,7 +187,7 @@ void run_loop_set_timer(timer_source_t *ts, uint32_t timeout_in_ms){
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void embedded_init(){
|
void embedded_init(void){
|
||||||
|
|
||||||
data_sources = NULL;
|
data_sources = NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user