Skip to content

Commit 8e39289

Browse files
authored
can't Spell!
I had manually applied these changes and misspelled two function names!
1 parent 6b682d2 commit 8e39289

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/Wire/src/Wire.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ void TwoWire::begin(int sdaPin, int sclPin, uint32_t frequency)
6868
}
6969
}
7070

71-
i2cDetatchSCL(i2c,scl); // detach pins before resetting I2C perpherial
72-
i2cDetatchSDA(i2c,sda); // else a glitch will appear on the i2c bus
71+
i2cDetachSCL(i2c,scl); // detach pins before resetting I2C perpherial
72+
i2cDetachSDA(i2c,sda); // else a glitch will appear on the i2c bus
7373
i2c = i2cInit(num);// i2cInit() now performs a hardware reset
7474
if(i2c == NULL) {
7575
return;

0 commit comments

Comments
 (0)