mirror of https://github.com/rusefi/openblt.git
Refs #515. Removed USB hook function prototypes from STM32F1 and TM4C ports.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@461 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
parent
e4b06890a4
commit
da4319508b
|
@ -31,6 +31,7 @@
|
|||
****************************************************************************************/
|
||||
#include "boot.h" /* bootloader generic header */
|
||||
#if (BOOT_COM_USB_ENABLE > 0)
|
||||
#include "usb.h" /* USB driver module */
|
||||
#include "usb_lib.h" /* USB library driver header */
|
||||
#include "usb_desc.h" /* USB descriptor header */
|
||||
#include "usb_pwr.h" /* USB power management header */
|
||||
|
@ -72,14 +73,6 @@ typedef struct
|
|||
} tFifoPipe; /**< USB pipe fifo type */
|
||||
|
||||
|
||||
/****************************************************************************************
|
||||
* Hook functions
|
||||
****************************************************************************************/
|
||||
extern void UsbEnterLowPowerModeHook(void);
|
||||
extern void UsbLeaveLowPowerModeHook(void);
|
||||
extern void UsbConnectHook(blt_bool connect);
|
||||
|
||||
|
||||
/****************************************************************************************
|
||||
* Function prototypes
|
||||
****************************************************************************************/
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#if (BOOT_COM_USB_ENABLE > 0)
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include "usb.h"
|
||||
#include "usblib.h"
|
||||
#include "usbdevice.h"
|
||||
#include "usbdbulk.h"
|
||||
|
@ -74,14 +75,6 @@ typedef struct
|
|||
} tFifoPipe; /**< USB pipe fifo type */
|
||||
|
||||
|
||||
/****************************************************************************************
|
||||
* Hook functions
|
||||
****************************************************************************************/
|
||||
extern void UsbEnterLowPowerModeHook(void);
|
||||
extern void UsbLeaveLowPowerModeHook(void);
|
||||
extern void UsbConnectHook(blt_bool connect);
|
||||
|
||||
|
||||
/****************************************************************************************
|
||||
* Function prototypes
|
||||
****************************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue