mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-13 15:41:17 +00:00
runloop: set ds->process via setter
This commit is contained in:
parent
40403fbfd4
commit
a86b799a1b
@ -63,7 +63,7 @@ void btstack_stdin_setup(int (*stdin_process)(btstack_data_source_t *_ds)){
|
||||
#endif
|
||||
|
||||
stdin_source.fd = 0; // stdin
|
||||
btstack_run_loop_set_data_source_handler(&stdin_source, &stdin_process);
|
||||
btstack_run_loop_set_data_source_handler(&stdin_source, stdin_process);
|
||||
btstack_run_loop_add_data_source(&stdin_source);
|
||||
|
||||
activated = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user