diff options
| author | hathach <[email protected]> | 2020-07-01 01:33:02 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-07-01 01:33:02 +0700 |
| commit | 12a145b27db28a55cc99a89487bdd531bc5f950e (patch) | |
| tree | 01fffd2ca0363eb32c2539bd0ff2af735cc2bd16 /src/class/cdc/cdc_device.c | |
| parent | 400c2d2e503550f6d9da10be797a852f15d1877e (diff) | |
fix dfu-rt to response to SET_INTERFACE and DFU_GETSTATUS
fix #450
Diffstat (limited to 'src/class/cdc/cdc_device.c')
| -rw-r--r-- | src/class/cdc/cdc_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/cdc/cdc_device.c b/src/class/cdc/cdc_device.c index 9180065c4..4d6e57878 100644 --- a/src/class/cdc/cdc_device.c +++ b/src/class/cdc/cdc_device.c @@ -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; |
