mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-09 21:45:54 +00:00
added disabled debug messages
This commit is contained in:
parent
7569e8c239
commit
f70fee3346
@ -110,10 +110,15 @@ void cocoa_add_timer(timer_source_t * ts)
|
|||||||
// hack: store CFRunLoopTimerRef in next pointer of linked_item
|
// hack: store CFRunLoopTimerRef in next pointer of linked_item
|
||||||
ts->item.next = (void *)timerRef;
|
ts->item.next = (void *)timerRef;
|
||||||
|
|
||||||
|
// printf("cocoa_add_timer ref %x\n", (int) timerRef);
|
||||||
|
|
||||||
CFRunLoopAddTimer(CFRunLoopGetCurrent(), timerRef, kCFRunLoopCommonModes);
|
CFRunLoopAddTimer(CFRunLoopGetCurrent(), timerRef, kCFRunLoopCommonModes);
|
||||||
}
|
}
|
||||||
|
|
||||||
int cocoa_remove_timer(timer_source_t * ts){
|
int cocoa_remove_timer(timer_source_t * ts){
|
||||||
|
|
||||||
|
// printf("cocoa_remove_timer ref %x\n", (int) ts->item.next);
|
||||||
|
|
||||||
CFRunLoopRemoveTimer(CFRunLoopGetCurrent(), (CFRunLoopTimerRef) ts->item.next, kCFRunLoopCommonModes);
|
CFRunLoopRemoveTimer(CFRunLoopGetCurrent(), (CFRunLoopTimerRef) ts->item.next, kCFRunLoopCommonModes);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -127,9 +132,7 @@ void cocoa_execute()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void cocoa_dump_timer(){
|
void cocoa_dump_timer(){
|
||||||
// not needed yet
|
|
||||||
fprintf(stderr, "WARNING: run_loop_dump_timer not implemented yet!");
|
fprintf(stderr, "WARNING: run_loop_dump_timer not implemented yet!");
|
||||||
// warning never the less
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user