Fix IAR warnings.

Pa039 : use of address of unaligned structure member.
Pe188: enumerated type mixed with another type.
This commit is contained in:
Mengsk
2020-06-16 14:13:30 +02:00
parent 8a67f81397
commit 57b553e023
4 changed files with 14 additions and 10 deletions

View File

@@ -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);