Skip to content

Commit 0e83cb0

Browse files
aentingerfacchinm
andauthored
Allow default singleton on different Wire (#26)
Co-authored-by: Martino Facchin <[email protected]>
1 parent 8fb63ce commit 0e83cb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ECCX08.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -774,4 +774,8 @@ uint16_t ECCX08Class::crc16(const byte data[], size_t length)
774774
return crc;
775775
}
776776

777+
#ifdef CRYPTO_WIRE
778+
ECCX08Class ECCX08(CRYPTO_WIRE, 0x60);
779+
#else
777780
ECCX08Class ECCX08(Wire, 0x60);
781+
#endif

0 commit comments

Comments
 (0)