mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-05 06:37:29 +02:00
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>
This commit is contained in:
parent
cce781078e
commit
a48c6dcb30
@ -16,6 +16,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "usb.h"
|
||||
|
||||
|
||||
enum dfu_request {
|
||||
DFU_DETACH,
|
||||
|
Loading…
Reference in New Issue
Block a user