Re #4125: New functions usbStart() and usbStop() to make USB code cleaner
This commit is contained in:
@@ -175,7 +175,6 @@ void boardInit()
|
||||
init2MhzTimer();
|
||||
init1msTimer();
|
||||
usbInit();
|
||||
usbDeInit();
|
||||
hapticInit();
|
||||
bluetoothInit(BLUETOOTH_FACTORY_BAUDRATE);
|
||||
gpsInit(GPS_USART_BAUDRATE);
|
||||
|
||||
@@ -376,7 +376,8 @@ void backlightEnable(uint8_t dutyCycle);
|
||||
// USB driver
|
||||
int usbPlugged(void);
|
||||
void usbInit(void);
|
||||
void usbDeInit(void);
|
||||
void usbStart(void);
|
||||
void usbStop(void);
|
||||
void usbSerialPutc(uint8_t c);
|
||||
#define USB_NAME "FrSky Horus"
|
||||
#define USB_MANUFACTURER 'F', 'r', 'S', 'k', 'y', ' ', ' ', ' ' /* 8 bytes */
|
||||
|
||||
Reference in New Issue
Block a user