diff options
| author | Nathan Conrad <[email protected]> | 2019-09-21 12:17:17 -0400 |
|---|---|---|
| committer | Nathan Conrad <[email protected]> | 2019-09-21 12:17:17 -0400 |
| commit | 37b52e354fe4089be04e167e2a5483ae31383274 (patch) | |
| tree | 3b587dd6b1094ad942b35798a2f004b334770556 /src | |
| parent | a187f0268c9c42bfbfb22338692dfffed3f9bac5 (diff) | |
Correct wording of comment on handling EP requests.
Diffstat (limited to 'src')
| -rw-r--r-- | src/device/usbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index e0148dc97..6401a2d9e 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -545,9 +545,9 @@ static bool process_control_request(uint8_t rhport, tusb_control_request_t const // Some classes such as TMC needs to clear/re-init its buffer when receiving CLEAR_FEATURE request
// We will forward all request targeted endpoint to its class driver
// For class-type requests: must (call tud_control_status(); return true) or (return false)
- // For std-type requests: non-std requests codes are already discarded.
+ // For std-type requests: non-std request codes are already discarded.
// must not call tud_control_status(), and return value will have no effect
- // Invoke class driver last, so that EP is already stalled
+ // class driver is invoked last, so that EP already has EP stall cleared (in event of clear feature EP halt)
if ( usbd_class_drivers[drv_id].control_request )
{
|
