Skip to content

Commit 8119f88

Browse files
Update Wire.cpp
default constructor now uses SCL and SDA defintinion from wire.h
1 parent 18f2233 commit 8119f88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

STM32F1/libraries/Wire/Wire.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,5 +190,5 @@ TwoWire::~TwoWire() {
190190
}
191191

192192
// Declare the instance that the users of the library can use
193-
//TwoWire Wire(SCL, SDA, SOFT_STANDARD);
194-
TwoWire Wire(PB6, PB7, SOFT_STANDARD);
193+
TwoWire Wire(SCL, SDA, SOFT_STANDARD);
194+
//TwoWire Wire(PB6, PB7, SOFT_STANDARD);

0 commit comments

Comments
 (0)