diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-13 14:09:25 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-13 14:09:25 +0000 |
commit | 3705330dd32f54cf15842511b7657d2f321c11ad (patch) | |
tree | 5efa5e70e4a7d338befde10772f6a73ba80c69d3 /Demos/Host/Incomplete | |
parent | 307ba254d5ef8bcdd9b9aa1bdb277041e79d6563 (diff) | |
download | lufa-3705330dd32f54cf15842511b7657d2f321c11ad.tar.gz lufa-3705330dd32f54cf15842511b7657d2f321c11ad.tar.bz2 lufa-3705330dd32f54cf15842511b7657d2f321c11ad.zip |
Use -pedantic compile time option to find and correct several minor code errors.
Diffstat (limited to 'Demos/Host/Incomplete')
-rw-r--r-- | Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c index 3b8bcde89..ffec03157 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c @@ -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));
|