mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 12:40:42 +00:00
micro-ecc: fix include guards
This commit is contained in:
parent
b7e5512ffe
commit
43d468d2c3
7
3rd-party/micro-ecc/btstack_config_uECC.h
vendored
7
3rd-party/micro-ecc/btstack_config_uECC.h
vendored
@ -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
|
||||
|
4
3rd-party/micro-ecc/uECC.h
vendored
4
3rd-party/micro-ecc/uECC.h
vendored
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user