Add genuino101 to travis, remove call to setClockDivider (obsolete)

This commit is contained in:
Joe Bowbeer 2017-02-05 19:35:23 -08:00 committed by Kristian Sloth Lauszus
parent d57d810e93
commit e2902bd8a1
2 changed files with 1 additions and 3 deletions

View file

@ -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="."

View file

@ -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