summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2022-06-05 16:46:00 +0800
committersakumisu <[email protected]>2022-06-05 16:46:10 +0800
commit1277126712c922d59f4a0fac7e05648c2294885d (patch)
treea2b446faec0be64664b2f8a1a3e91c01cf2bf8f2
parentcd7c7e3dc736684727ef9481e962fc3534143802 (diff)
remove USB_DESC_SECTION
-rw-r--r--demo/video_static_mjpeg_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/video_static_mjpeg_template.c b/demo/video_static_mjpeg_template.c
index e48b23cf..d48f79fa 100644
--- a/demo/video_static_mjpeg_template.c
+++ b/demo/video_static_mjpeg_template.c
@@ -50,7 +50,7 @@
#define USBD_MAX_POWER 100
#define USBD_LANGID_STRING 1033
-USB_DESC_SECTION const uint8_t video_descriptor[] = {
+const uint8_t video_descriptor[] = {
USB_DEVICE_DESCRIPTOR_INIT(USB_2_0, 0x00, 0x00, 0x00, USBD_VID, USBD_PID, 0x0001, 0x01),
USB_CONFIG_DESCRIPTOR_INIT(USB_VIDEO_DESC_SIZ, 0x02, 0x01, USB_CONFIG_BUS_POWERED, USBD_MAX_POWER),
VIDEO_VC_DESCRIPTOR_INIT(0x00, 0, 0x0100, VC_TERMINAL_SIZ, 48000000, 0x02),