update the descriptor endpoint ISO for nrf5x

This commit is contained in:
hathach
2021-10-08 15:49:56 +07:00
parent b6d09ca761
commit b3bfce2cb7
2 changed files with 5 additions and 13 deletions

View File

@@ -457,7 +457,7 @@ static bool _open_vc_itf(uint8_t rhport, videod_interface_t *self, uint_fast8_t
void const *end = beg + self->len;
/* The first descriptor is a video control interface descriptor. */
void const *cur = _find_desc_itf(beg, end, _desc_itfnum(beg), altnum);
TU_LOG2(" cur %ld\n", cur - beg);
TU_LOG2(" cur %d\n", cur - beg);
TU_VERIFY(cur < end);
tusb_desc_vc_itf_t const *vc = (tusb_desc_vc_itf_t const *)cur;