Skip to content

Commit 39f79a9

Browse files
committed
Switch out vendor writes for vendor N writes as test
1 parent f924ee6 commit 39f79a9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/usbsid.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,10 @@ void cdc_write(volatile uint8_t * itf, uint32_t n)
183183
void webserial_write(volatile uint8_t * itf, uint32_t n)
184184
{ /* No need to check if write available with current driver code */
185185
usIO("[O %d] [%c] $%02X:%02X\n", n, dtype, sid_buffer[1], write_buffer[0]);
186-
tud_vendor_write(write_buffer, n);
187-
tud_vendor_flush();
186+
tud_vendor_n_write(*itf, write_buffer, n);
187+
tud_vendor_n_write_flush(*itf);
188+
// tud_vendor_write(write_buffer, n);
189+
// tud_vendor_flush();
188190
return;
189191
}
190192

0 commit comments

Comments
 (0)