diff --git a/cores/nRF5/usb/usb.c b/cores/nRF5/usb/usb.c index 735e2842..da21ed99 100644 --- a/cores/nRF5/usb/usb.c +++ b/cores/nRF5/usb/usb.c @@ -118,8 +118,8 @@ void tud_cdc_line_state_cb(uint8_t itf, bool dtr, bool rts) { (void) itf; // interface ID, not used - // disconnected event - if ( !dtr && !rts ) + // DTR = false is counted as disconnected event for touch1200 + if ( !dtr ) { cdc_line_coding_t coding; tud_cdc_get_line_coding(&coding);