diff options
Diffstat (limited to 'firmware/usbstack')
-rw-r--r-- | firmware/usbstack/config.h | 31 | ||||
-rw-r--r-- | firmware/usbstack/core/core.c | 4 |
2 files changed, 1 insertions, 34 deletions
diff --git a/firmware/usbstack/config.h b/firmware/usbstack/config.h deleted file mode 100644 index 8990934e56..0000000000 --- a/firmware/usbstack/config.h +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2007 by Christian Gmeiner | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
20 | #ifndef _USBSTACK_CONFIG_H_ | ||
21 | #define _USBSTACK_CONFIG_H_ | ||
22 | |||
23 | /* default: use no controller */ | ||
24 | #ifndef USBSTACK_CAPS | ||
25 | #define USBSTACK_CAPS 0 | ||
26 | #endif | ||
27 | |||
28 | #define CONTROLLER_DEVICE (1 << 0) | ||
29 | #define CONTROLLER_HOST (1 << 1) | ||
30 | |||
31 | #endif /*_USBSTACK_CONFIG_H_*/ | ||
diff --git a/firmware/usbstack/core/core.c b/firmware/usbstack/core/core.c index 0d2cfc67b9..f72b3bbed8 100644 --- a/firmware/usbstack/core/core.c +++ b/firmware/usbstack/core/core.c | |||
@@ -20,12 +20,10 @@ | |||
20 | #include <errno.h> | 20 | #include <errno.h> |
21 | #include <string.h> | 21 | #include <string.h> |
22 | #include <ctype.h> | 22 | #include <ctype.h> |
23 | #include "usbstack.h" | ||
24 | |||
25 | #include "config.h" | 23 | #include "config.h" |
26 | 24 | ||
25 | #include "usbstack.h" | ||
27 | #include "usbstack/core.h" | 26 | #include "usbstack/core.h" |
28 | #include "usbstack/config.h" | ||
29 | #include "usbstack/controller.h" | 27 | #include "usbstack/controller.h" |
30 | #include "usbstack/drivers/device/usb_serial.h" | 28 | #include "usbstack/drivers/device/usb_serial.h" |
31 | #include "usbstack/drivers/device/usb_storage.h" | 29 | #include "usbstack/drivers/device/usb_storage.h" |