Skip to content

Commit 9d8a363

Browse files
committed
use correct AP3_WireN_IOM macros
1 parent 5227c1c commit 9d8a363

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libraries/Wire/src/Wire.cpp

Lines changed: 4 additions & 4 deletions
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)