mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
implemented timer handling in run loop
This commit is contained in:
parent
436a4afbf2
commit
70febe6942
@ -90,10 +90,6 @@ void event_handler(uint8_t *packet, uint16_t size){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void timerCB(struct timer *t){
|
|
||||||
printf("timeout test!\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
int main (int argc, const char * argv[]){
|
int main (int argc, const char * argv[]){
|
||||||
bt_open();
|
bt_open();
|
||||||
bt_register_event_packet_handler(event_handler);
|
bt_register_event_packet_handler(event_handler);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user