forked from arduino/Arduino
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit was required to test an IDE bug
- Loading branch information
Showing
4 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
#include "USBDevice.h" | ||
#include "PluggableUSB.h" | ||
|
||
#if defined(USBCON) | ||
#ifdef PLUGGABLE_USB_ENABLED | ||
|
||
USBDevice::USBDevice(void) | ||
{ | ||
//PUSB.AppendDescriptor(this); | ||
} | ||
|
||
|
||
#endif | ||
|
||
#endif /* if defined(USBCON) */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Include guard | ||
#pragma once | ||
|
||
#define HID_h | ||
|
||
#include <stdint.h> | ||
#include <Arduino.h> | ||
|
||
//http://stackoverflow.com/questions/1837165/can-two-classes-see-each-other-using-c | ||
|
||
class PUSB_; | ||
extern PUSB_ PUSB; | ||
|
||
class USBDevice | ||
{ | ||
public: | ||
USBDevice(void); | ||
|
||
// Needs to be public for static PUSB_ function access | ||
// Inherit this device private and everything should be fine | ||
//private: | ||
USBDevice* next = NULL; | ||
|
||
|
||
protected: | ||
|
||
}; |