aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-13 14:09:25 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-13 14:09:25 +0000
commit3705330dd32f54cf15842511b7657d2f321c11ad (patch)
tree5efa5e70e4a7d338befde10772f6a73ba80c69d3 /Demos/Host/Incomplete
parent307ba254d5ef8bcdd9b9aa1bdb277041e79d6563 (diff)
downloadlufa-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.c10
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));