Skip to content

Commit fdcb732

Browse files
committed
Initial zephyr support
1 parent 02a1a93 commit fdcb732

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ECCX08.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,12 @@ uint16_t ECCX08Class::crc16(const byte data[], size_t length)
970970
return crc;
971971
}
972972

973+
#if __ZEPHYR__
974+
#ifndef CRYPTO_WIRE
975+
#define CRYPTO_WIRE Wire1
976+
#endif
977+
#endif
978+
973979
#ifdef CRYPTO_WIRE
974980
ECCX08Class ECCX08(CRYPTO_WIRE, 0x60);
975981
#else

0 commit comments

Comments
 (0)