X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/70983caea5dc6d817c3a887d66a2f43fce535bbd..3fd246041b10609a204a6352aa1b86d7000171d4:/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c diff --git a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c index 486a023f9..55c399778 100644 --- a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c +++ b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c @@ -58,8 +58,7 @@ int main(void) for (;;) { - if ((RFCOMMChannel != NULL) && (RFCOMMChannel->State == BT_Channel_Open)) - RFCOMM_ServiceChannels(RFCOMMChannel); + RFCOMM_ServiceChannels(SerialChannel_ACL); Bluetooth_Host_Task(); Bluetooth_Stack_USBTask();