X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/008e0e2e0a13e64e03f27f1c9a008ef201560878..bea72a8412f99b294c00341fa16a8308bcc66f15:/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h?ds=sidebyside diff --git a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h index ce7d1f500..0814845a0 100644 --- a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h +++ b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.h @@ -44,12 +44,10 @@ #include #include - #include "Lib/ServiceDiscoveryProtocol.h" - #include "Lib/RFCOMM.h" - #include "Lib/BluetoothStack.h" - + #include "BluetoothEvents.h" #include "DeviceDescriptor.h" #include "ConfigDescriptor.h" + #include "Lib/BluetoothStack.h" #include #include @@ -70,6 +68,9 @@ /** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */ #define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3) + /** LED mask for the library LED driver, to indicate that the USB interface is busy. */ + #define LEDMASK_USB_BUSY LEDS_LED2 + /* Task Definitions: */ void Bluetooth_Host_Task(void); @@ -78,7 +79,8 @@ void EVENT_USB_Host_DeviceUnattached(void); void EVENT_USB_Host_DeviceEnumerationComplete(void); void EVENT_USB_Host_HostError(const uint8_t ErrorCode); - void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode); + void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, + const uint8_t SubErrorCode); /* Function Prototypes: */ void SetupHardware(void);