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:
Frank Voorburg 2018-03-23 10:11:45 +00:00
parent e4b06890a4
commit da4319508b
2 changed files with 2 additions and 16 deletions

View File

@ -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
****************************************************************************************/

View File

@ -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
****************************************************************************************/