Skip to content

Commit

Permalink
Remove automatic including of SPI1
Browse files Browse the repository at this point in the history
This is known to cause trouble with PlatformIO
  • Loading branch information
MCUdude committed May 30, 2019
1 parent ab31eab commit 99e8f6e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion avr/libraries/SPI/library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name=SPI
version=1.0
author=Arduino
maintainer=MCUdude
dot_a_linkgage=true
sentence=Enables the communication with devices that use the Serial Peripheral Interface (SPI) Bus.
paragraph=
category=Communication
Expand Down
4 changes: 0 additions & 4 deletions avr/libraries/SPI/src/SPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@

#include <Arduino.h>

#if defined(SPI1_STC_vect)
#include <SPI1.h>
#endif

// SPI_HAS_TRANSACTION means SPI has beginTransaction(), endTransaction(),
// usingInterrupt(), and SPISetting(clock, bitOrder, dataMode)
#define SPI_HAS_TRANSACTION 1
Expand Down
1 change: 0 additions & 1 deletion avr/libraries/SPI1/library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name=SPI1
version=1.0
author=Arduino
maintainer=MCUdude
dot_a_linkgage=true
sentence=Enables the communication with devices that use the Serial Peripheral Interface (SPI) Bus.
paragraph=SPI is a synchronous serial data protocol used by microcontrollers for communicating with one or more peripheral devices quickly over short distances. It uses three lines common to all devices (MISO1, MOSI1 and SCK1) and one specific for each device.
category=Communication
Expand Down

0 comments on commit 99e8f6e

Please sign in to comment.