mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Add genuino101 to travis, remove call to setClockDivider (obsolete)
This commit is contained in:
parent
d57d810e93
commit
e2902bd8a1
2 changed files with 1 additions and 3 deletions
|
@ -74,4 +74,4 @@ install:
|
|||
- platformio lib install 62 416 417
|
||||
|
||||
script:
|
||||
- platformio ci --board=uno --board=due --board=teensy30 --board=teensy31 --board=teensy35 --board=teensy36 --board=teensylc --lib="."
|
||||
- platformio ci --board=uno --board=genuino101 --board=due --board=teensy30 --board=teensy31 --board=teensy35 --board=teensy36 --board=teensylc --lib="."
|
||||
|
|
|
@ -63,8 +63,6 @@ public:
|
|||
#else
|
||||
SPI.setClockDivider(SPI_CLOCK_DIV2); // This will set the SPI frequency to 8MHz - it could be higher, but it is not supported in the old API
|
||||
#endif
|
||||
#elif defined(__ARDUINO_ARC__)
|
||||
SPI.setClockDivider(SPI_CLOCK_DIV2);
|
||||
#elif !defined(RBL_NRF51822)
|
||||
SPI.setClockDivider(4); // Set speed to 84MHz/4=21MHz - the MAX3421E can handle up to 26MHz
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue