Merge pull request #287 from snazarkin/crc-patch-1
Don't include SW CRC if not requested
This commit is contained in:
commit
1310a8ce93
|
@ -72,9 +72,13 @@ typedef enum {
|
|||
CRC_COMPLETE /* Asynchronous operation complete. */
|
||||
} crcstate_t;
|
||||
|
||||
#if STM32_CRC_USE_CRC1 == TRUE
|
||||
#include "hal_crc_lld.h"
|
||||
#include "crcsw.h" /* Include software LL driver */
|
||||
#endif
|
||||
|
||||
#if CRCSW_USE_CRC1 == TRUE
|
||||
#include "crcsw.h" /* Include software LL driver */
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver macros. */
|
||||
|
|
Loading…
Reference in New Issue