[MAX32620HSP] Replaced tab with spaces.

pull/2528/head
Jeremy Brodt 2016-08-25 15:15:50 -05:00
parent 67b556b648
commit b18141343d
1 changed files with 3 additions and 3 deletions

View File

@ -212,10 +212,10 @@ static ep_buffer_t *get_desc(uint8_t endpoint)
void USBHAL::EP0setup(uint8_t *buffer) void USBHAL::EP0setup(uint8_t *buffer)
{ {
// Setup packet is fixed at 8 bytes // Setup packet is fixed at 8 bytes
// Setup registers cannot be read in byte mode // Setup registers cannot be read in byte mode
uint32_t *ptr32 = (uint32_t*)buffer; uint32_t *ptr32 = (uint32_t*)buffer;
ptr32[0] = (uint32_t)MXC_USB->setup0; ptr32[0] = (uint32_t)MXC_USB->setup0;
ptr32[1] = (uint32_t)MXC_USB->setup1; ptr32[1] = (uint32_t)MXC_USB->setup1;
} }
void USBHAL::EP0read(void) void USBHAL::EP0read(void)