diff --git a/Adafruit_SPIDevice.cpp b/Adafruit_SPIDevice.cpp index f39627a..f560756 100644 --- a/Adafruit_SPIDevice.cpp +++ b/Adafruit_SPIDevice.cpp @@ -1,9 +1,8 @@ +#if (defined(SPI_INTERFACES_COUNT) && (SPI_INTERFACES_COUNT > 0)) + #include #include -#if !defined(SPI_INTERFACES_COUNT) || \ - (defined(SPI_INTERFACES_COUNT) && (SPI_INTERFACES_COUNT > 0)) - //#define DEBUG_SERIAL Serial /*! diff --git a/library.properties b/library.properties index 9203197..4e726a3 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Adafruit BusIO -version=1.9.2 +version=1.9.3 author=Adafruit maintainer=Adafruit sentence=This is a library for abstracting away UART, I2C and SPI interfacing