From 9e0e110b5d42bad2f6f227fa5436c8da9d1aa1f3 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Thu, 9 Feb 2023 00:17:31 +0000 Subject: [PATCH] Update defines.h - inappropriate define NO_INTERRUPTS replaced with I2C_USE_WIRE. --- defines.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/defines.h b/defines.h index 9ad5851..e9ae631 100644 --- a/defines.h +++ b/defines.h @@ -64,8 +64,8 @@ #define DISABLE_EEPROM #endif // Teensy support for native I2C is awaiting development -#ifndef I2C_NO_INTERRUPTS - #define I2C_NO_INTERRUPTS +#ifndef I2C_USE_WIRE + #define I2C_USE_WIRE #endif #elif defined(ARDUINO_TEENSY35) #define ARDUINO_TYPE "TEENSY35" @@ -76,8 +76,8 @@ #define DISABLE_EEPROM #endif // Teensy support for native I2C is awaiting development -#ifndef I2C_NO_INTERRUPTS - #define I2C_NO_INTERRUPTS +#ifndef I2C_USE_WIRE + #define I2C_USE_WIRE #endif #elif defined(ARDUINO_TEENSY36) #define ARDUINO_TYPE "TEENSY36" @@ -87,8 +87,8 @@ #define DISABLE_EEPROM #endif // Teensy support for native I2C is awaiting development -#ifndef I2C_NO_INTERRUPTS - #define I2C_NO_INTERRUPTS +#ifndef I2C_USE_WIRE + #define I2C_USE_WIRE #endif #elif defined(ARDUINO_TEENSY40) #define ARDUINO_TYPE "TEENSY40" @@ -98,8 +98,8 @@ #define DISABLE_EEPROM #endif // Teensy support for native I2C is awaiting development -#ifndef I2C_NO_INTERRUPTS - #define I2C_NO_INTERRUPTS +#ifndef I2C_USE_WIRE + #define I2C_USE_WIRE #endif #elif defined(ARDUINO_TEENSY41) #define ARDUINO_TYPE "TEENSY41" @@ -109,8 +109,8 @@ #define DISABLE_EEPROM #endif // Teensy support for native I2C is awaiting development -#ifndef I2C_NO_INTERRUPTS - #define I2C_NO_INTERRUPTS +#ifndef I2C_USE_WIRE + #define I2C_USE_WIRE #endif #elif defined(ARDUINO_ARCH_ESP8266) #define ARDUINO_TYPE "ESP8266" @@ -135,8 +135,8 @@ #define DISABLE_EEPROM #endif // STM32 support for native I2C is awaiting development -#ifndef I2C_NO_INTERRUPTS - #define I2C_NO_INTERRUPTS +#ifndef I2C_USE_WIRE + #define I2C_USE_WIRE #endif