summaryrefslogtreecommitdiff
path: root/src/class/video/video_device.c
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-04-08 23:48:52 +0700
committerGitHub <[email protected]>2024-04-08 23:48:52 +0700
commit42decf28f1bf7512a4c3e7402c9daf83ee241191 (patch)
tree1a3ed93956a7d51d592d6ba4de6215725ec43c4c /src/class/video/video_device.c
parentd33fe38a6257bcdd60f51a57c9fd19ce2ad1f202 (diff)
parentbe25a3fc20339c27803e68cb1363f89ffe7a7c67 (diff)
Merge pull request #1835 from MasterQ32/otg_bringup
Implements deinit functions for host/device mode switch
Diffstat (limited to 'src/class/video/video_device.c')
-rw-r--r--src/class/video/video_device.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/class/video/video_device.c b/src/class/video/video_device.c
index 891ece721..d0a88eb17 100644
--- a/src/class/video/video_device.c
+++ b/src/class/video/video_device.c
@@ -1236,6 +1236,10 @@ void videod_init(void) {
}
}
+bool videod_deinit(void) {
+ return true;
+}
+
void videod_reset(uint8_t rhport) {
(void) rhport;
for (uint_fast8_t i = 0; i < CFG_TUD_VIDEO; ++i) {