pts: fix compile -> named union on btstack_data_source_t

This commit is contained in:
Matthias Ringwald 2018-07-11 19:37:19 +02:00
parent 8d3be4021b
commit 7ea539b707

View File

@ -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);