micro-ecc: fix include guards

This commit is contained in:
Matthias Ringwald 2019-09-25 11:26:28 +02:00
parent b7e5512ffe
commit 43d468d2c3
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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"