We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a6d856 + 5c19b45 commit f355d30Copy full SHA for f355d30
libraries/Wire/Wire.h
@@ -106,6 +106,23 @@ class TwoWire : public Stream
106
//static const uint32_t XMIT_TIMEOUT = 100000;
107
};
108
109
-extern TwoWire Wire;
+#if WIRE_INTERFACES_COUNT > 0
110
+ extern TwoWire Wire;
111
+#endif
112
+#if WIRE_INTERFACES_COUNT > 1
113
+ extern TwoWire Wire1;
114
115
+#if WIRE_INTERFACES_COUNT > 2
116
+ extern TwoWire Wire2;
117
118
+#if WIRE_INTERFACES_COUNT > 3
119
+ extern TwoWire Wire3;
120
121
+#if WIRE_INTERFACES_COUNT > 4
122
+ extern TwoWire Wire4;
123
124
+#if WIRE_INTERFACES_COUNT > 5
125
+ extern TwoWire Wire5;
126
127
128
#endif
0 commit comments