diff options
Diffstat (limited to 'software/mpu/halconf.h')
-rw-r--r-- | software/mpu/halconf.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/software/mpu/halconf.h b/software/mpu/halconf.h index 31a845e..25f5c2a 100644 --- a/software/mpu/halconf.h +++ b/software/mpu/halconf.h @@ -118,7 +118,7 @@ * @brief Enables the SDC subsystem. */ #if !defined(HAL_USE_SDC) || defined(__DOXYGEN__) -#define HAL_USE_SDC FALSE +#define HAL_USE_SDC TRUE #endif /** @@ -263,6 +263,20 @@ #define SDC_NICE_WAITING TRUE #endif +/** + * @brief Write timeout in milliseconds. + */ +#if !defined(SDC_WRITE_TIMEOUT_MS) || defined(__DOXYGEN__) +#define SDC_WRITE_TIMEOUT_MS 250 +#endif + +/** + * @brief Read timeout in milliseconds. + */ +#if !defined(SDC_READ_TIMEOUT_MS) || defined(__DOXYGEN__) +#define SDC_READ_TIMEOUT_MS 5 +#endif + /*===========================================================================*/ /* SERIAL driver related settings. */ /*===========================================================================*/ |