X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/ba711d6759c6e15e93557fe5d401cc61a31dfff6..6276d5f82a600c9047df4a8894a257181abad5e7:/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c?ds=inline 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();