Skip to content

Commit 319d44c

Browse files
committed
fix build
1 parent e238822 commit 319d44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adafruit_I2CDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ bool Adafruit_I2CDevice::setSpeed(uint32_t desiredclk) {
292292
atwbr /= 64;
293293
TWSR = 0x3;
294294
}
295-
TWBR = atwb;
295+
TWBR = atwbr;
296296

297297
#ifdef DEBUG_SERIAL
298298
Serial.print(F("TWSR prescaler = "));

0 commit comments

Comments
 (0)