Hatt denn niemand eine Idee?
../usbdrv.h:429: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'char'
../usbdrv.h:435: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'char'
../usbdrv.h:441: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'char'
../usbdrv.h:447: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'char'
../usbdrv.h:453: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
../usbdrv.h:459: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
../usbdrv.h:465: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'int'
../Schlüssel.c: In function 'usbFunctionSetup':
../Schlüssel.c:13: error: number of arguments doesn't match prototype
../usbdrv.h:171: error: prototype declaration
Hier noch der Code:
1 | /* ------------------ forward declaration of descriptors ------------------- */
|
2 | /* If you use external static descriptors, they must be stored in global
|
3 | * arrays as declared below:
|
4 | */
|
5 | #ifndef __ASSEMBLER__
|
6 | extern
|
7 | #if !(USB_CFG_DESCR_PROPS_DEVICE & USB_PROP_IS_RAM)
|
8 | PROGMEM
|
9 | #endif
|
10 | char usbDescriptorDevice[];
|
11 |
|
12 | extern
|
13 | #if !(USB_CFG_DESCR_PROPS_CONFIGURATION & USB_PROP_IS_RAM)
|
14 | PROGMEM
|
15 | #endif
|
16 | char usbDescriptorConfiguration[];
|
17 |
|
18 | extern
|
19 | #if !(USB_CFG_DESCR_PROPS_HID_REPORT & USB_PROP_IS_RAM)
|
20 | PROGMEM
|
21 | #endif
|
22 | char usbDescriptorHidReport[];
|
23 |
|
24 | extern
|
25 | #if !(USB_CFG_DESCR_PROPS_STRING_0 & USB_PROP_IS_RAM)
|
26 | PROGMEM
|
27 | #endif
|
28 | char usbDescriptorString0[];
|
29 |
|
30 | extern
|
31 | #if !(USB_CFG_DESCR_PROPS_STRING_VENDOR & USB_PROP_IS_RAM)
|
32 | PROGMEM
|
33 | #endif
|
34 | int usbDescriptorStringVendor[];
|
35 |
|
36 | extern
|
37 | #if !(USB_CFG_DESCR_PROPS_STRING_PRODUCT & USB_PROP_IS_RAM)
|
38 | PROGMEM
|
39 | #endif
|
40 | int usbDescriptorStringDevice[];
|
41 |
|
42 | extern
|
43 | #if !(USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER & USB_PROP_IS_RAM)
|
44 | PROGMEM
|
45 | #endif
|
46 | int usbDescriptorStringSerialNumber[];
|
47 |
|
48 | #endif /* __ASSEMBLER__ */
|