IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Commit Details
Date: | 2011-06-17 17:01:38 (7 years 8 months ago) |
---|---|
Author: | Stefan Schmidt |
Commit: | a48c6dcb3055fd0fa8a8880715b026890d9d8fc7 |
Message: | usb/dfu.h: Include usb.h to avoid gcc warning With warnings treated as errors I get this: In file included from flash.c:19:0: usb/dfu.h:107:35: error: 'struct setup_request' declared inside parameter list usb/dfu.h:107:35: error: its scope is only this definition or declaration, which is probably not what you want make: *** [flash.o] Error 1 Struct setup_request is declared in usb.h so include it. Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org> |
Files: |
atusb/fw/usb/dfu.h (1 diff) |
Change Details
atusb/fw/usb/dfu.h | ||
---|---|---|
16 | 16 | |
17 | 17 | #include <stdint.h> |
18 | 18 | |
19 | #include "usb.h" | |
20 | ||
19 | 21 | |
20 | 22 | enum dfu_request { |
21 | 23 | DFU_DETACH, |