Date:2011-06-17 17:01:38 (7 years 5 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
1616
1717#include <stdint.h>
1818
19#include "usb.h"
20
1921
2022enum dfu_request {
2123    DFU_DETACH,

Archive Download the corresponding diff file



interactive