diff options
| author | Ha Thach <[email protected]> | 2024-10-14 21:38:45 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-14 21:38:45 +0700 |
| commit | 933ac29d77f54c68cbb41f09b74e78f868a2b4a7 (patch) | |
| tree | f7c11374731a6aa9352464f065169d30d28d16c2 /src/class | |
| parent | a4fb8354e41b2604f66e7da22afa292b1a44f0a2 (diff) | |
| parent | e83e08343afca86b2bacf26822ef9032571e6f56 (diff) | |
Merge pull request #2836 from hathach/more-tusb_init()
change tusb_init() to use init struct
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/video/video_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/video/video_device.c b/src/class/video/video_device.c index c544a09fe..70dbb5b9e 100644 --- a/src/class/video/video_device.c +++ b/src/class/video/video_device.c @@ -707,7 +707,7 @@ static bool _open_vc_itf(uint8_t rhport, videod_interface_t *self, uint_fast8_t /* The first descriptor is a video control interface descriptor. */ uint8_t const *cur = _find_desc_itf(beg, end, _desc_itfnum(beg), altnum); - TU_LOG_DRV(" cur %d\r\n", cur - beg); + TU_LOG_DRV(" cur %" PRId32 "\r\n", (int32_t) (cur - beg)); TU_VERIFY(cur < end); tusb_desc_vc_itf_t const *vc = (tusb_desc_vc_itf_t const *)cur; |
