diff options
| author | hathach <[email protected]> | 2019-07-30 00:48:31 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-07-30 00:48:31 +0700 |
| commit | 00a9e492cdf04ea17379218996d2713bcaaaff51 (patch) | |
| tree | e09333dd599e92d0686ca5e2bcf928b1cf60165a /examples/device | |
| parent | af3c301ea5152ea4926e005159f4daa894b5df53 (diff) | |
clean up
Diffstat (limited to 'examples/device')
| -rw-r--r-- | examples/device/webusb_serial/src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/device/webusb_serial/src/main.c b/examples/device/webusb_serial/src/main.c index d81cf058b..e1a098048 100644 --- a/examples/device/webusb_serial/src/main.c +++ b/examples/device/webusb_serial/src/main.c @@ -176,6 +176,8 @@ bool tud_vendor_control_request_cb(uint8_t rhport, tusb_control_request_t const { board_led_write(true); blink_interval_ms = BLINK_ALWAYS_ON; + + tud_vendor_write_str("\r\nTinyUSB WebUSB device example\r\n"); }else { blink_interval_ms = BLINK_MOUNTED; @@ -247,7 +249,7 @@ void tud_cdc_line_state_cb(uint8_t itf, bool dtr, bool rts) if ( dtr && rts ) { // print initial message when connected - tud_cdc_write_str("\r\nTinyUSB CDC MSC HID device example\r\n"); + tud_cdc_write_str("\r\nTinyUSB WebUSB device example\r\n"); } } |
