diff --git a/example/libusb/classic_test.c b/example/libusb/classic_test.c index a9f1aec51..ffb762947 100644 --- a/example/libusb/classic_test.c +++ b/example/libusb/classic_test.c @@ -572,6 +572,7 @@ int stdin_process(struct data_source *ds){ case 'o': printf("RFCOMM Channel Closed\n"); rfcomm_disconnect_internal(rfcomm_channel_id); + rfcomm_channel_id = 0; break; default: