From b64546efb4d9541d13a2195f2d46db7bbec927ed Mon Sep 17 00:00:00 2001 From: Slavey Karadzhov Date: Mon, 13 Dec 2021 10:48:07 +0100 Subject: [PATCH] Updated Adafruit_BusIO, Adafruit_BME280_Library. --- Sming/Libraries/.patches/Adafruit_BusIO.patch | 18 +++++++++--------- Sming/Libraries/Adafruit_BME280_Library | 2 +- Sming/Libraries/Adafruit_BusIO | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Sming/Libraries/.patches/Adafruit_BusIO.patch b/Sming/Libraries/.patches/Adafruit_BusIO.patch index f1993e03dc..6c2fa02afd 100644 --- a/Sming/Libraries/.patches/Adafruit_BusIO.patch +++ b/Sming/Libraries/.patches/Adafruit_BusIO.patch @@ -1,8 +1,10 @@ diff --git a/Adafruit_SPIDevice.h b/Adafruit_SPIDevice.h -index 921030a..170dce3 100644 +index e144bf0..ec2dc7d 100644 --- a/Adafruit_SPIDevice.h +++ b/Adafruit_SPIDevice.h -@@ -1,67 +1,21 @@ +@@ -2,66 +2,20 @@ + #define Adafruit_SPIDevice_h + #include - -#if !defined(SPI_INTERFACES_COUNT) || \ @@ -10,9 +12,6 @@ index 921030a..170dce3 100644 - #include - #ifndef Adafruit_SPIDevice_h - #define Adafruit_SPIDevice_h - -// some modern SPI definitions don't have BitOrder enum -#if (defined(__AVR__) && !defined(ARDUINO_ARCH_MEGAAVR)) || \ - defined(ESP8266) || defined(TEENSYDUINO) || defined(SPARK) || \ @@ -71,13 +70,14 @@ index 921030a..170dce3 100644 /**! The class which defines how we will talk to this device over SPI **/ class Adafruit_SPIDevice { public: -@@ -104,4 +58,3 @@ private: +@@ -103,5 +57,4 @@ private: + bool _begun; }; - #endif // Adafruit_SPIDevice_h -#endif // has SPI defined + #endif // Adafruit_SPIDevice_h diff --git a/README.md b/README.md -index 3fc8a1f..fba70bd 100644 +index 1cc06a1..d98c288 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ @@ -86,5 +86,5 @@ index 3fc8a1f..fba70bd 100644 +[![Build Status](https://github.com/adafruit/Adafruit_BusIO/workflows/Arduino%20Library%20CI/badge.svg)](https://github.com/adafruit/Adafruit_BusIO/actions) - This is a helper libary to abstract away I2C & SPI transactions and registers + This is a helper library to abstract away I2C & SPI transactions and registers diff --git a/Sming/Libraries/Adafruit_BME280_Library b/Sming/Libraries/Adafruit_BME280_Library index a9c82197bc..ca3a36b7fd 160000 --- a/Sming/Libraries/Adafruit_BME280_Library +++ b/Sming/Libraries/Adafruit_BME280_Library @@ -1 +1 @@ -Subproject commit a9c82197bc8a238f205196ed83e0b8efcfa6f171 +Subproject commit ca3a36b7fdfc701a90643a2bbfd112f84854eae6 diff --git a/Sming/Libraries/Adafruit_BusIO b/Sming/Libraries/Adafruit_BusIO index da6809b582..649bc9f93c 160000 --- a/Sming/Libraries/Adafruit_BusIO +++ b/Sming/Libraries/Adafruit_BusIO @@ -1 +1 @@ -Subproject commit da6809b582f1b64eeafe44d58df8a90a2fa9b47c +Subproject commit 649bc9f93c00a19d4217281f0a6b1a2556fbd7bb