File tree 4 files changed +7
-3
lines changed
4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ namespace arduino { namespace csn {
14
14
15
15
bool get (uint8_t *in, uint32_t size) {
16
16
#if CRYPTO_SN_SIZE == 0
17
+ (void )in;
18
+ (void )size;
17
19
return false ;
18
20
#else
19
21
if (size < CRYPTO_SN_SIZE) {
Original file line number Diff line number Diff line change 11
11
#pragma once
12
12
13
13
#include < Arduino.h>
14
+ #include < Arduino_SecureElement.h>
14
15
15
16
namespace arduino { namespace csn {
16
17
/*
@@ -28,14 +29,11 @@ namespace arduino { namespace csn {
28
29
defined(ARDUINO_PORTENTA_H7_M7) || \
29
30
defined(ARDUINO_OPTA) || \
30
31
defined(ARDUINO_GIGA)
31
- #include <Arduino_SecureElement.h>
32
32
#define CRYPTO_SN_SIZE 0
33
33
#elif defined(ARDUINO_PORTENTA_C33) || \
34
34
defined (ARDUINO_NICLA_VISION)
35
- #include <Arduino_SecureElement.h>
36
35
#define CRYPTO_SN_SIZE 0
37
36
#elif defined(ARDUINO_UNOR4_WIFI)
38
- #include < Arduino_SecureElement.h>
39
37
#define CRYPTO_SN_SIZE 0
40
38
#else
41
39
#define CRYPTO_SN_SIZE 0
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ namespace arduino { namespace mac {
14
14
15
15
bool get (uint8_t *in, uint32_t size) {
16
16
#if IFACE_MAC_ADDR_LENGTH == 0
17
+ (void )in;
18
+ (void )size;
17
19
return false ;
18
20
#else
19
21
if (size < IFACE_MAC_ADDR_LENGTH) {
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ namespace arduino { namespace ucid {
14
14
15
15
bool get (uint8_t *in, uint32_t size) {
16
16
#if UC_UID_SIZE == 0
17
+ (void )in;
18
+ (void )size;
17
19
return false ;
18
20
#else
19
21
if (size < UC_UID_SIZE) {
You can’t perform that action at this time.
0 commit comments