Skip to content

Commit d9a7b5d

Browse files
committed
Merge pull request #3542 from facchinm/plugUSB_sam
Add pluggableUSB capabilities to SAM core
2 parents 43d855c + a5ad474 commit d9a7b5d

File tree

12 files changed

+497
-706
lines changed

12 files changed

+497
-706
lines changed

Diff for: hardware/arduino/sam/cores/arduino/USB/CDC.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "Arduino.h"
1818
#include "USBAPI.h"
1919
#include "Reset.h"
20+
#include "Print.h"
2021

2122
#ifdef CDC_ENABLED
2223

@@ -103,7 +104,7 @@ int WEAK CDC_GetOtherInterface(uint8_t* interfaceNum)
103104
return USBD_SendControl(0,&_cdcOtherInterface,sizeof(_cdcOtherInterface));
104105
}
105106

106-
bool WEAK CDC_Setup(Setup& setup)
107+
bool WEAK CDC_Setup(USBSetup& setup)
107108
{
108109
uint8_t r = setup.bRequest;
109110
uint8_t requestType = setup.bmRequestType;

0 commit comments

Comments
 (0)