fix dfu-rt to response to SET_INTERFACE and DFU_GETSTATUS

fix #450
This commit is contained in:
hathach
2020-07-01 01:33:02 +07:00
parent 400c2d2e50
commit 12a145b27d
2 changed files with 28 additions and 3 deletions

View File

@@ -364,7 +364,7 @@ bool cdcd_control_request(uint8_t rhport, tusb_control_request_t const * request
tud_control_status(rhport, request);
// Invoke callback
if ( tud_cdc_line_state_cb) tud_cdc_line_state_cb(itf, dtr, rts);
if ( tud_cdc_line_state_cb ) tud_cdc_line_state_cb(itf, dtr, rts);
}
break;