From 9d8a3636199b91a79c3a99eabc4d398459304c28 Mon Sep 17 00:00:00 2001 From: oclyke Date: Wed, 10 Jun 2020 17:13:33 -0600 Subject: [PATCH] use correct AP3_WireN_IOM macros --- libraries/Wire/src/Wire.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/Wire/src/Wire.cpp b/libraries/Wire/src/Wire.cpp index 889d0021..ee7c3af9 100644 --- a/libraries/Wire/src/Wire.cpp +++ b/libraries/Wire/src/Wire.cpp @@ -373,17 +373,17 @@ TwoWire Wire1(AP3_Wire1_IOM); #endif #if WIRE_INTERFACES_COUNT > 2 -TwoWire Wire2(AP3_Wire1_IOM); +TwoWire Wire2(AP3_Wire2_IOM); #endif #if WIRE_INTERFACES_COUNT > 3 -TwoWire Wire3(AP3_Wire1_IOM); +TwoWire Wire3(AP3_Wire3_IOM); #endif #if WIRE_INTERFACES_COUNT > 4 -TwoWire Wire4(AP3_Wire1_IOM); +TwoWire Wire4(AP3_Wire4_IOM); #endif #if WIRE_INTERFACES_COUNT > 5 -TwoWire Wire5(AP3_Wire1_IOM); +TwoWire Wire5(AP3_Wire5_IOM); #endif \ No newline at end of file