mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(usb): variable declaration after label for clang
This commit is contained in:
parent
c921824230
commit
df65b3829e
@ -1263,6 +1263,7 @@ static esp_err_t _port_cmd_reset(port_t *port)
|
||||
ret = ESP_OK;
|
||||
bailout:
|
||||
// Reinitialize channel registers
|
||||
(void) 0; // clang doesn't allow variable declarations after labels
|
||||
pipe_t *pipe;
|
||||
TAILQ_FOREACH(pipe, &port->pipes_idle_tailq, tailq_entry) {
|
||||
usb_dwc_hal_chan_set_ep_char(port->hal, pipe->chan_obj, &pipe->ep_char);
|
||||
|
Loading…
Reference in New Issue
Block a user