We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67b556b commit b181413Copy full SHA for b181413
libraries/USBDevice/USBDevice/USBHAL_Maxim.cpp
@@ -212,10 +212,10 @@ static ep_buffer_t *get_desc(uint8_t endpoint)
212
void USBHAL::EP0setup(uint8_t *buffer)
213
{
214
// Setup packet is fixed at 8 bytes
215
- // Setup registers cannot be read in byte mode
+ // Setup registers cannot be read in byte mode
216
uint32_t *ptr32 = (uint32_t*)buffer;
217
- ptr32[0] = (uint32_t)MXC_USB->setup0;
218
- ptr32[1] = (uint32_t)MXC_USB->setup1;
+ ptr32[0] = (uint32_t)MXC_USB->setup0;
+ ptr32[1] = (uint32_t)MXC_USB->setup1;
219
}
220
221
void USBHAL::EP0read(void)
0 commit comments