mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-27 06:35:20 +00:00
example/sco_demo_util: fix compile for non posix systems
This commit is contained in:
parent
859f2bc59e
commit
dfec1b51c3
@ -571,10 +571,12 @@ void sco_demo_send(hci_con_handle_t sco_handle){
|
||||
audio_input_paused = 1;
|
||||
} else {
|
||||
hfp_msbc_read_from_stream(sco_packet + 3, sco_payload_length);
|
||||
#ifdef HAVE_POSIX_FILE_IO
|
||||
if (msbc_file_out){
|
||||
// log outgoing mSBC data for testing
|
||||
fwrite(sco_packet + 3, sco_payload_length, 1, msbc_file_out);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user