Skip to content

Commit 251cb40

Browse files
committed
TEMP: Uno R4 WiFf disable serial number reading
1 parent 88a1c5e commit 251cb40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bpid/csn.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
namespace arduino { namespace csn {
1414

1515
bool get(uint8_t *in, uint32_t size) {
16+
#if defined ARDUINO_UNOR4_WIFI
17+
return false;
18+
#else
1619
if (size < CRYPTO_SN_SIZE) {
1720
return false;
1821
}
@@ -21,6 +24,7 @@ namespace arduino { namespace csn {
2124
return false;
2225
}
2326
return true;
27+
#endif
2428
}
2529

2630
}} // arduino::csn

0 commit comments

Comments
 (0)