Fix IAR warnings.
Pa039 : use of address of unaligned structure member. Pe188: enumerated type mixed with another type.
This commit is contained in:
@@ -698,7 +698,6 @@ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc
|
||||
|
||||
default:
|
||||
TU_ASSERT(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
pcd_set_eptype(USB, epnum, wType);
|
||||
|
||||
Reference in New Issue
Block a user