File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
libraries/Adafruit_USBDev_MSC Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ int main( void )
96
96
initVariant ();
97
97
98
98
#ifdef NRF52840_XXAA
99
- USBDevice.addInterface ( (Adafruit_USBInterface &) Serial);
99
+ USBDevice.addInterface ( (Adafruit_USBDev_Interface &) Serial);
100
100
USBDevice.begin (USB_VID, USB_PID);
101
101
usb_init ();
102
102
Original file line number Diff line number Diff line change 30
30
#include " Adafruit_USBDevice.h"
31
31
#include " Stream.h"
32
32
33
- class Adafruit_USBDev_CDC : public Stream , Adafruit_USBInterface
33
+ class Adafruit_USBDev_CDC : public Stream , Adafruit_USBDev_Interface
34
34
{
35
35
public:
36
36
Adafruit_USBDev_CDC (void );
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ Adafruit_USBDevice::Adafruit_USBDevice(void)
136
136
// Add interface descriptor
137
137
// - Interface number will be updated to match current count
138
138
// - Endpoint number is updated to be unique
139
- bool Adafruit_USBDevice::addInterface (Adafruit_USBInterface & itf)
139
+ bool Adafruit_USBDevice::addInterface (Adafruit_USBDev_Interface & itf)
140
140
{
141
141
uint8_t * desc = _desc_cfg+_desc_cfglen;
142
142
uint16_t len = itf.getDescriptor (desc, sizeof (_desc_cfg)-_desc_cfglen);
Original file line number Diff line number Diff line change 27
27
28
28
#include " tusb.h"
29
29
30
- class Adafruit_USBInterface
30
+ class Adafruit_USBDev_Interface
31
31
{
32
32
public:
33
33
virtual uint16_t getDescriptor (uint8_t * buf, uint16_t bufsize) = 0;
@@ -49,7 +49,7 @@ class Adafruit_USBDevice
49
49
public:
50
50
Adafruit_USBDevice (void );
51
51
52
- bool addInterface (Adafruit_USBInterface & itf);
52
+ bool addInterface (Adafruit_USBDev_Interface & itf);
53
53
54
54
bool begin (uint16_t vid, uint16_t pid);
55
55
};
Original file line number Diff line number Diff line change 27
27
28
28
#include " Adafruit_USBDevice.h"
29
29
30
- class Adafruit_USBDev_MSC : Adafruit_USBInterface
30
+ class Adafruit_USBDev_MSC : Adafruit_USBDev_Interface
31
31
{
32
32
private:
33
33
You can’t perform that action at this time.
0 commit comments