Fixes to the MIDI device demos (ClassDriver, LowLevel); discard unused read-in events from the host, use standard MIDI event structure in low level demo rather than sending individual bytes.
This commit is contained in:
parent
28343b1475
commit
6be24e4404
8 changed files with 61 additions and 73 deletions
|
@ -68,19 +68,6 @@
|
|||
|
||||
/* Task Definitions: */
|
||||
void Bluetooth_Management_Task(void);
|
||||
|
||||
/* Enums: */
|
||||
/** Enum for the possible status codes for passing to the UpdateStatus() function. */
|
||||
enum MouseHostViaInt_StatusCodes_t
|
||||
{
|
||||
Status_USBNotReady = 0, /**< USB is not ready (disconnected from a USB device) */
|
||||
Status_USBEnumerating = 1, /**< USB interface is enumerating */
|
||||
Status_USBReady = 2, /**< USB interface is connected and ready */
|
||||
Status_EnumerationError = 3, /**< Software error while enumerating the attached USB device */
|
||||
Status_HardwareError = 4, /**< Hardware error while enumerating the attached USB device */
|
||||
Status_BluetoothConnected = 5, /**< Bluetooth stack connected to device and idle */
|
||||
Status_BluetoothBusy = 6, /**< Bluetooth stack busy */
|
||||
};
|
||||
|
||||
/* Event Handlers: */
|
||||
void EVENT_USB_DeviceAttached(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue