Wrapped with the halconf USE macro.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11001 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
isiora 2017-11-14 15:46:33 +00:00
parent b23efdc7b3
commit 25846dfc5d
2 changed files with 4 additions and 6 deletions

View File

@ -24,7 +24,7 @@
#include <string.h>
#include "hal.h"
#if (HAL_USE_CRY == TRUE) || defined(__DOXYGEN__)
#if HAL_USE_CRY || defined(__DOXYGEN__)
#include "sama_crypto_lld.h"
/*===========================================================================*/
@ -1096,8 +1096,6 @@ cryerror_t cry_lld_decrypt_DES_CBC(CRYDriver *cryp, crykey_t key_id,
return ret;
}
#endif /* HAL_USE_CRY == TRUE */
#endif /* HAL_USE_CRY */
/** @} */

View File

@ -25,7 +25,7 @@
#ifndef HAL_CRYPTO_LLD_H
#define HAL_CRYPTO_LLD_H
#if (HAL_USE_CRY == TRUE) || defined(__DOXYGEN__)
#if HAL_USE_CRY || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver constants. */
@ -292,7 +292,7 @@ extern "C" {
}
#endif
#endif /* HAL_USE_CRY == TRUE */
#endif /* HAL_USE_CRY */
#endif /* HAL_CRYPTO_LLD_H */