diff --git a/os/hal/platforms/SPC563Mxx/hal_lld.h b/os/hal/platforms/SPC563Mxx/hal_lld.h index 15ae669f3..eec53fd5a 100644 --- a/os/hal/platforms/SPC563Mxx/hal_lld.h +++ b/os/hal/platforms/SPC563Mxx/hal_lld.h @@ -132,7 +132,7 @@ * @brief External clock pre-divider. * @note Must be in range 1...15. */ -#if !defined(SPC5_CLK_PREDIV) || defined(__DOXYGEN__) +#if !defined(SPC5_CLK_PREDIV_VALUE) || defined(__DOXYGEN__) #define SPC5_CLK_PREDIV_VALUE 2 #endif diff --git a/os/hal/platforms/SPC564Axx/hal_lld.h b/os/hal/platforms/SPC564Axx/hal_lld.h index da8bcf26a..196646a04 100644 --- a/os/hal/platforms/SPC564Axx/hal_lld.h +++ b/os/hal/platforms/SPC564Axx/hal_lld.h @@ -132,7 +132,7 @@ * @brief External clock pre-divider. * @note Must be in range 1...15. */ -#if !defined(SPC5_CLK_PREDIV) || defined(__DOXYGEN__) +#if !defined(SPC5_CLK_PREDIV_VALUE) || defined(__DOXYGEN__) #define SPC5_CLK_PREDIV_VALUE 8 #endif