Some MIN/MAX rely on core

This commit is contained in:
Scott Lahteine
2019-07-05 20:07:39 -05:00
parent 535b70057e
commit 253d0f9671
2 changed files with 2 additions and 2 deletions

View File

@@ -1904,7 +1904,7 @@ static void udd_ep_in_sent(udd_ep_id_t ep)
ptr_src = &ptr_job->buf[ptr_job->buf_cnt];
nb_remain = ptr_job->buf_size - ptr_job->buf_cnt;
// Fill a bank even if no data (ZLP)
nb_data = _MIN(nb_remain, pkt_size);
nb_data = MIN(nb_remain, pkt_size);
// Modify job information
ptr_job->buf_cnt += nb_data;
ptr_job->buf_load = nb_data;