From 1b7f5a95905c5ff580c77dd745279d5b45d0ab88 Mon Sep 17 00:00:00 2001 From: Luke Lowrey Date: Sat, 16 Sep 2023 00:30:41 +0100 Subject: [PATCH 1/2] Remove offensive term in comments Tidying up the language used - https://dictionary.cambridge.org/dictionary/english/spaz https://en.wiktionary.org/wiki/spaz --- Adafruit_I2CDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Adafruit_I2CDevice.cpp b/Adafruit_I2CDevice.cpp index 9b518b4..059ddfb 100644 --- a/Adafruit_I2CDevice.cpp +++ b/Adafruit_I2CDevice.cpp @@ -23,8 +23,8 @@ Adafruit_I2CDevice::Adafruit_I2CDevice(uint8_t addr, TwoWire *theWire) { /*! * @brief Initializes and does basic address detection * @param addr_detect Whether we should attempt to detect the I2C address - * with a scan. 99% of sensors/devices don't mind but once in a while, they spaz - * on a scan! + * with a scan. 99% of sensors/devices don't mind, but once in a while they don't + * respond well to a scan! * @return True if I2C initialized and a device with the addr found */ bool Adafruit_I2CDevice::begin(bool addr_detect) { From 9108618560a57a4cf8113231b713293028f10d29 Mon Sep 17 00:00:00 2001 From: Luke Lowrey Date: Sat, 16 Sep 2023 00:59:38 +0100 Subject: [PATCH 2/2] Fix line length --- Adafruit_I2CDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Adafruit_I2CDevice.cpp b/Adafruit_I2CDevice.cpp index 059ddfb..57eb551 100644 --- a/Adafruit_I2CDevice.cpp +++ b/Adafruit_I2CDevice.cpp @@ -23,8 +23,8 @@ Adafruit_I2CDevice::Adafruit_I2CDevice(uint8_t addr, TwoWire *theWire) { /*! * @brief Initializes and does basic address detection * @param addr_detect Whether we should attempt to detect the I2C address - * with a scan. 99% of sensors/devices don't mind, but once in a while they don't - * respond well to a scan! + * with a scan. 99% of sensors/devices don't mind, but once in a while they + * don't respond well to a scan! * @return True if I2C initialized and a device with the addr found */ bool Adafruit_I2CDevice::begin(bool addr_detect) {