mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-20 18:40:31 +00:00
pts: fix compile -> named union on btstack_data_source_t
This commit is contained in:
parent
8d3be4021b
commit
7ea539b707
@ -58,7 +58,7 @@ static void stdin_process(btstack_data_source_t *ds, btstack_data_source_callbac
|
||||
UNUSED(callback_type);
|
||||
|
||||
char data[3];
|
||||
read(stdin_source.fd, &data, 3);
|
||||
read(stdin_source.source.fd, &data, 3);
|
||||
data[2] = 0;
|
||||
if (stdin_handler){
|
||||
(*stdin_handler)(data, 3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user