Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion libraries/Wire/Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,23 @@ class TwoWire : public Stream
//static const uint32_t XMIT_TIMEOUT = 100000;
};

extern TwoWire Wire;
#if WIRE_INTERFACES_COUNT > 0
extern TwoWire Wire;
#endif
#if WIRE_INTERFACES_COUNT > 1
extern TwoWire Wire1;
#endif
#if WIRE_INTERFACES_COUNT > 2
extern TwoWire Wire2;
#endif
#if WIRE_INTERFACES_COUNT > 3
extern TwoWire Wire3;
#endif
#if WIRE_INTERFACES_COUNT > 4
extern TwoWire Wire4;
#endif
#if WIRE_INTERFACES_COUNT > 5
extern TwoWire Wire5;
#endif

#endif