mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-19 06:40:45 +00:00
Update samples
This commit is contained in:
parent
1fb2a2f1bd
commit
d7d4e7b527
@ -112,7 +112,7 @@ void echo_all(uint8_t buf[], uint32_t count)
|
|||||||
if ( web_serial_connected )
|
if ( web_serial_connected )
|
||||||
{
|
{
|
||||||
tud_vendor_write(buf, count);
|
tud_vendor_write(buf, count);
|
||||||
tud_vendor_flush();
|
tud_vendor_write_flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
// echo to cdc
|
// 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;
|
blink_interval_ms = BLINK_ALWAYS_ON;
|
||||||
|
|
||||||
tud_vendor_write_str("\r\nWebUSB interface connected\r\n");
|
tud_vendor_write_str("\r\nWebUSB interface connected\r\n");
|
||||||
tud_vendor_flush();
|
tud_vendor_write_flush();
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
blink_interval_ms = BLINK_MOUNTED;
|
blink_interval_ms = BLINK_MOUNTED;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user