Skip to content

Commit 0e5b03f

Browse files
committed
clang
1 parent fe6bb61 commit 0e5b03f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Adafruit_I2CDevice.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ uint8_t Adafruit_I2CDevice::address(void) { return _addr; }
261261
* Not necessarily that the speed was achieved!
262262
*/
263263
bool Adafruit_I2CDevice::setSpeed(uint32_t desiredclk) {
264-
#if defined(__AVR_ATmega328__) || defined(__AVR_ATmega328P__) // fix arduino core set clock
264+
#if defined(__AVR_ATmega328__) || \
265+
defined(__AVR_ATmega328P__) // fix arduino core set clock
265266
// calculate TWBR correctly
266267
uint8_t prescaler = 1;
267268
uint32_t atwbr = ((F_CPU / desiredclk) - 16) / 2;

0 commit comments

Comments
 (0)