mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 04:04:31 +02:00
fix(usb_cdc): Remove undefined macro USB_CDC_LOCAL_FD
This commit is contained in:
@@ -146,7 +146,7 @@ static void cdcacm_return_char(int c)
|
||||
|
||||
static ssize_t cdcacm_read(int fd, void *data, size_t size)
|
||||
{
|
||||
assert(fd == USB_CDC_LOCAL_FD);
|
||||
assert(fd == 0);
|
||||
char *data_c = (char *) data;
|
||||
ssize_t received = 0;
|
||||
_lock_acquire_recursive(&s_read_lock);
|
||||
|
Reference in New Issue
Block a user