diff --git a/firmware/export/config.h b/firmware/export/config.h index b2bcba2ba8..89918f57b2 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -773,6 +773,7 @@ Lyre prototype 1 */ #define USB_DETECT_BY_CORE #if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_ARC #define INCLUDE_TIMEOUT_API +#define USB_DRIVER_CLOSE #endif #endif diff --git a/firmware/target/arm/usb-target.h b/firmware/target/arm/usb-target.h index e0145ec242..e69de29bb2 100644 --- a/firmware/target/arm/usb-target.h +++ b/firmware/target/arm/usb-target.h @@ -1,28 +0,0 @@ -/*************************************************************************** - * __________ __ ___. - * Open \______ \ ____ ____ | | _\_ |__ _______ ___ - * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / - * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < - * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ - * \/ \/ \/ \/ \/ - * $Id$ - * - * Copyright (C) 2006 by Barry Wardelll - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY - * KIND, either express or implied. - * - ****************************************************************************/ -#ifndef USB_TARGET_H -#define USB_TARGET_H - -#ifdef HAVE_BOOTLOADER_USB_MODE -#define USB_DRIVER_CLOSE -#endif - -#endif