diff options
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c')
-rw-r--r-- | Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c | 3 |
1 files changed, 1 insertions, 2 deletions
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(); |