summaryrefslogtreecommitdiff
path: root/examples/device
diff options
context:
space:
mode:
authorJerzy Kasenberg <[email protected]>2021-08-11 14:45:47 +0200
committerJerzy Kasenberg <[email protected]>2021-08-12 09:12:25 +0200
commitcde607338d723e3d62fba6cfb9ea4b07eb89a55d (patch)
tree446c99db2da1a78f2f43e1127fdd69e113422224 /examples/device
parent63f7dfeb8ed006b0c0b252b26109cd68aabc7e25 (diff)
da1469x: Fix no VBUS startup
For self powered device if device started without VBUS present it would not be correctly attached to USB bus even if tusb_vbus_changed() was later called. This modifies dcd_init() so it starts USB state machine without checking if VBUS is present or not, like all others drivers do. tusb_vbus_changed() function is also removed its content was moved to dcd_init.
Diffstat (limited to 'examples/device')
0 files changed, 0 insertions, 0 deletions