We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e0e737 + 8c2df55 commit dbb7770Copy full SHA for dbb7770
src/bpid/csn.cpp
@@ -13,6 +13,9 @@
13
namespace arduino { namespace csn {
14
15
bool get(uint8_t *in, uint32_t size) {
16
+#if defined ARDUINO_UNOR4_WIFI
17
+ return false;
18
+#else
19
if (size < CRYPTO_SN_SIZE) {
20
return false;
21
}
@@ -21,6 +24,7 @@ namespace arduino { namespace csn {
24
22
25
23
26
return true;
27
+#endif
28
29
30
}} // arduino::csn
src/bpid/mac.h
@@ -23,7 +23,7 @@
#define IFACE_MAC_ADDR_LENGTH WL_MAC_ADDR_LENGTH
#elif defined(ARDUINO_UNOR4_WIFI)
#include <WiFi.h>
- #define IFACE_MAC_ADDR_LENGTH WL_MAC_ADDR_LENGTH
+ #define IFACE_MAC_ADDR_LENGTH 6
#elif defined(ARDUINO_OPTA)
#include <Ethernet.h>
#define IFACE_MAC_ADDR_LENGTH 6
0 commit comments