File tree 4 files changed +3
-3
lines changed
4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ extern "C"{
31
31
#endif // __cplusplus
32
32
33
33
// Include Atmel headers
34
+ #undef LITTLE_ENDIAN
34
35
#include <samd.h>
35
36
36
37
#define clockCyclesPerMicrosecond () ( SystemCoreClock / 1000000L )
Original file line number Diff line number Diff line change @@ -230,7 +230,6 @@ bool USBDeviceClass::sendDescriptor(USBSetup &setup)
230
230
else if (setup.wValueL == ISERIAL) {
231
231
char name[ISERIAL_MAX_LEN];
232
232
memset (name, 0 , sizeof (name));
233
- uint8_t idx = 0 ;
234
233
#ifdef PLUGGABLE_USB_ENABLED
235
234
PluggableUSB ().getShortName (name);
236
235
return sendStringDescriptor ((uint8_t *)name, setup.wLength );
Original file line number Diff line number Diff line change 25
25
#include "variant.h"
26
26
#include "USB_host.h"
27
27
#include "samd21_host.h"
28
- #include "sam.h"
29
28
#include "wiring_private.h"
30
29
31
30
#define HOST_DEFINED
Original file line number Diff line number Diff line change 28
28
// - endTransaction()
29
29
// - usingInterrupt()
30
30
// - SPISetting(clock, bitOrder, dataMode)
31
- #define SPI_HAS_TRANSACTION 1
31
+ // #define SPI_HAS_TRANSACTION 1
32
+ // Every core implementing arduino API has SPI transaction
32
33
33
34
// SPI_HAS_NOTUSINGINTERRUPT means that SPI has notUsingInterrupt() method
34
35
#define SPI_HAS_NOTUSINGINTERRUPT 1
You can’t perform that action at this time.
0 commit comments