Update samples

This commit is contained in:
epatstarkey 2023-03-30 11:34:39 -05:00
parent 1fb2a2f1bd
commit d7d4e7b527
1 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ void echo_all(uint8_t buf[], uint32_t count)
if ( web_serial_connected )
{
tud_vendor_write(buf, count);
tud_vendor_flush();
tud_vendor_write_flush();
}
// echo to cdc
@ -211,7 +211,7 @@ bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_requ
blink_interval_ms = BLINK_ALWAYS_ON;
tud_vendor_write_str("\r\nWebUSB interface connected\r\n");
tud_vendor_flush();
tud_vendor_write_flush();
}else
{
blink_interval_ms = BLINK_MOUNTED;