diff options
Diffstat (limited to 'stmhal/boards/STM32F411DISC/stm32f4xx_hal_conf.h')
| -rw-r--r-- | stmhal/boards/STM32F411DISC/stm32f4xx_hal_conf.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/stmhal/boards/STM32F411DISC/stm32f4xx_hal_conf.h b/stmhal/boards/STM32F411DISC/stm32f4xx_hal_conf.h index b97497454..921cbe5fe 100644 --- a/stmhal/boards/STM32F411DISC/stm32f4xx_hal_conf.h +++ b/stmhal/boards/STM32F411DISC/stm32f4xx_hal_conf.h @@ -103,7 +103,7 @@ #endif /* HSE_VALUE */ #if !defined (HSE_STARTUP_TIMEOUT) - #define HSE_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for HSE start up, in ms */ + #define HSE_STARTUP_TIMEOUT ((uint32_t)100U) /*!< Time out for HSE start up, in ms */ #endif /* HSE_STARTUP_TIMEOUT */ /** @@ -130,6 +130,10 @@ #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */ #endif /* LSE_VALUE */ +#if !defined (LSE_STARTUP_TIMEOUT) + #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */ +#endif /* LSE_STARTUP_TIMEOUT */ + /** * @brief External clock source for I2S peripheral * This value is used by the I2S HAL module to compute the I2S clock source |
