diff --git a/boards.txt b/boards.txt index fd3180a0..5b9d0719 100644 --- a/boards.txt +++ b/boards.txt @@ -87,7 +87,7 @@ feather52840.bootloader.tool=bootburn feather52840.upload.tool=nrfutil feather52840.upload.protocol=nrfutil feather52840.upload.use_1200bps_touch=true -feather52840.upload.wait_for_upload_port=false +feather52840.upload.wait_for_upload_port=true #feather52840.upload.native_usb=true @@ -144,7 +144,7 @@ pca10056.bootloader.tool=bootburn pca10056.upload.tool=nrfutil pca10056.upload.protocol=nrfutil pca10056.upload.use_1200bps_touch=true -pca10056.upload.wait_for_upload_port=false +pca10056.upload.wait_for_upload_port=true #pca10056.upload.native_usb=true # Build diff --git a/cores/nRF5/usb/usb.c b/cores/nRF5/usb/usb.c index da21ed99..335d62d5 100644 --- a/cores/nRF5/usb/usb.c +++ b/cores/nRF5/usb/usb.c @@ -118,7 +118,7 @@ void tud_cdc_line_state_cb(uint8_t itf, bool dtr, bool rts) { (void) itf; // interface ID, not used - // DTR = false is counted as disconnected event for touch1200 + // DTR = false is counted as disconnected if ( !dtr ) { cdc_line_coding_t coding;