diff options
| author | Andrew Leech <[email protected]> | 2026-05-31 22:49:22 +1000 |
|---|---|---|
| committer | Andrew Leech <[email protected]> | 2026-05-31 22:55:37 +1000 |
| commit | 20f59d0228fb7a2d2de46de6265d65f21b068778 (patch) | |
| tree | ef6a74717be74b3e112295a08193904ee70cf5cb /examples | |
| parent | 2c27ec9c89f95057e30da5d08c01f01c941b8a58 (diff) | |
cdc_host: fix undeclared 'idx' when only LINE_CONTROL_ON_ENUM defined
idx is used in the ENUM_SET_LINE_CONTROL path guarded by
CFG_TUH_CDC_LINE_CONTROL_ON_ENUM, but was declared only under
CFG_TUH_CDC_LINE_CODING_ON_ENUM. Defining LINE_CONTROL_ON_ENUM without
LINE_CODING_ON_ENUM therefore failed to compile with an undeclared
identifier. Guard the declaration under either macro.
Signed-off-by: Andrew Leech <[email protected]>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
