File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -152,10 +152,15 @@ in voltage and temperature.*/
152152/**
153153 * @brief This is the HAL system configuration section
154154 */
155+ #if !defined (VDD_VALUE )
155156#define VDD_VALUE (3300UL) /*!< Value of VDD in mv */
157+ #endif /* VDD_VALUE */
158+ #if !defined (TICK_INT_PRIORITY )
156159#define TICK_INT_PRIORITY ((1UL<<__NVIC_PRIO_BITS) - 1UL) /*!< tick interrupt priority (lowest by default) */
160+ #endif /* TICK_INT_PRIORITY */
161+ #if !defined (USE_RTOS )
157162#define USE_RTOS 0U
158-
163+ #endif
159164/* ########################## Assert Selection ############################## */
160165/**
161166 * @brief Uncomment the line below to expanse the "assert_param" macro in the
@@ -169,8 +174,9 @@ in voltage and temperature.*/
169174 * Activated: CRC code is present inside driver
170175 * Deactivated: CRC code cleaned from driver
171176 */
172-
177+ #if !defined ( USE_SPI_CRC )
173178#define USE_SPI_CRC 1U
179+ #endif /* USE_SPI_CRC */
174180
175181/* Includes ------------------------------------------------------------------*/
176182/**
You can’t perform that action at this time.
0 commit comments