changed return value of usbPlugged() back to int

This commit is contained in:
Damjan Adamic
2014-03-22 11:17:13 +01:00
parent 86f136c733
commit fbe298bece
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ void pwrOff(void);
// USB driver
#define BOOTLOADER_REQUEST() (0)
#define usbBootloader()
uint8_t usbPlugged(void);
int usbPlugged(void);
void usbInit(void);
void usbStart(void);
void usbStop(void);
+1 -1
View File
@@ -38,7 +38,7 @@
#include "STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_dcd_int.h"
#include "STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_bsp.h"
uint8_t usbPlugged(void)
int usbPlugged(void)
{
//debounce
static uint8_t debounced_state = 0;