File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ extern "C"{
3131#endif // __cplusplus
3232
3333// Include Atmel headers
34+ #undef LITTLE_ENDIAN
3435#include <samd.h>
3536
3637#define clockCyclesPerMicrosecond () ( SystemCoreClock / 1000000L )
Original file line number Diff line number Diff line change @@ -230,7 +230,6 @@ bool USBDeviceClass::sendDescriptor(USBSetup &setup)
230230 else if (setup.wValueL == ISERIAL) {
231231 char name[ISERIAL_MAX_LEN];
232232 memset (name, 0 , sizeof (name));
233- uint8_t idx = 0 ;
234233#ifdef PLUGGABLE_USB_ENABLED
235234 PluggableUSB ().getShortName (name);
236235 return sendStringDescriptor ((uint8_t *)name, setup.wLength );
Original file line number Diff line number Diff line change 2525#include "variant.h"
2626#include "USB_host.h"
2727#include "samd21_host.h"
28- #include "sam.h"
2928#include "wiring_private.h"
3029
3130#define HOST_DEFINED
Original file line number Diff line number Diff line change 2828// - endTransaction()
2929// - usingInterrupt()
3030// - 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
3233
3334// SPI_HAS_NOTUSINGINTERRUPT means that SPI has notUsingInterrupt() method
3435#define SPI_HAS_NOTUSINGINTERRUPT 1
You can’t perform that action at this time.
0 commit comments