fix(dcd_dwc2): Correct usage of dwc2_controller
This commit is contained in:
@@ -192,8 +192,8 @@ static bool dfifo_alloc(uint8_t rhport, uint8_t ep_addr, uint16_t packet_size) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Check IN endpoints concurrently active limit
|
// Check IN endpoints concurrently active limit
|
||||||
if(_dwc2_controller->ep_in_count) {
|
if(dwc2_controller->ep_in_count) {
|
||||||
TU_ASSERT(_dcd_data.allocated_epin_count < _dwc2_controller->ep_in_count);
|
TU_ASSERT(_dcd_data.allocated_epin_count < dwc2_controller->ep_in_count);
|
||||||
_dcd_data.allocated_epin_count++;
|
_dcd_data.allocated_epin_count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user