diff --git a/3rd-party/micro-ecc/btstack_config_uECC.h b/3rd-party/micro-ecc/btstack_config_uECC.h index a50873f17..0c99c20ba 100644 --- a/3rd-party/micro-ecc/btstack_config_uECC.h +++ b/3rd-party/micro-ecc/btstack_config_uECC.h @@ -1,6 +1,11 @@ // Configuration of micro-ecc for use with BTstack // // We only need/use SECP256R1 for LE Secure Connections + + +#ifndef BTSATCK_CONFIG_UECC_H__ +#define BTSATCK_CONFIG_UECC_H__ + #define uECC_CURVE uECC_secp256r1 // optimization: size vs. speed: uECC_asm_none - uECC_asm_small - uECC_asm_fast @@ -12,3 +17,5 @@ #ifndef uECC_SQUARE_FUNC #define uECC_SQUARE_FUNC 0 #endif + +#endif diff --git a/3rd-party/micro-ecc/uECC.h b/3rd-party/micro-ecc/uECC.h index 2eb4edb14..91cb9fadf 100644 --- a/3rd-party/micro-ecc/uECC.h +++ b/3rd-party/micro-ecc/uECC.h @@ -1,7 +1,7 @@ /* Copyright 2014, Kenneth MacKay. Licensed under the BSD 2-clause license. */ -#ifndef _MICRO_ECC_H_ -#define _MICRO_ECC_H_ +#ifndef MICRO_ECC_H_ +#define MICRO_ECC_H_ // BK #include "btstack_config_uECC.h"