Use -pedantic compile time option to find and correct several minor code errors.
This commit is contained in:
parent
307ba254d5
commit
3705330dd3
16 changed files with 121 additions and 66 deletions
|
@ -42,11 +42,11 @@ static uint8_t Bluetooth_SendHCICommand(void* Parameters, uint8_t ParamLength)
|
|||
|
||||
USB_ControlRequest = (USB_Request_Header_t)
|
||||
{
|
||||
bmRequestType: (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_DEVICE),
|
||||
bRequest: 0,
|
||||
wValue: 0,
|
||||
wIndex: 0,
|
||||
wLength: sizeof(CommandBuffer)
|
||||
.bmRequestType = (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_DEVICE),
|
||||
.bRequest = 0,
|
||||
.wValue = 0,
|
||||
.wIndex = 0,
|
||||
.wLength = sizeof(CommandBuffer)
|
||||
};
|
||||
|
||||
memset(CommandBuffer, 0x00, sizeof(CommandBuffer));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue