Skip to content

Commit 2fbddb2

Browse files
author
Owen
authored
Merge pull request #174 from sparkfun/fix-wire-macros
use correct AP3_WireN_IOM macros
2 parents c9b0ea9 + 9d8a363 commit 2fbddb2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libraries/Wire/src/Wire.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -373,17 +373,17 @@ TwoWire Wire1(AP3_Wire1_IOM);
373373
#endif
374374

375375
#if WIRE_INTERFACES_COUNT > 2
376-
TwoWire Wire2(AP3_Wire1_IOM);
376+
TwoWire Wire2(AP3_Wire2_IOM);
377377
#endif
378378

379379
#if WIRE_INTERFACES_COUNT > 3
380-
TwoWire Wire3(AP3_Wire1_IOM);
380+
TwoWire Wire3(AP3_Wire3_IOM);
381381
#endif
382382

383383
#if WIRE_INTERFACES_COUNT > 4
384-
TwoWire Wire4(AP3_Wire1_IOM);
384+
TwoWire Wire4(AP3_Wire4_IOM);
385385
#endif
386386

387387
#if WIRE_INTERFACES_COUNT > 5
388-
TwoWire Wire5(AP3_Wire1_IOM);
388+
TwoWire Wire5(AP3_Wire5_IOM);
389389
#endif

0 commit comments

Comments
 (0)