diff options
author | Michael Walker <walkerstop@gmail.com> | 2018-05-01 01:07:46 -0700 |
---|---|---|
committer | Michael Walker <walkerstop@gmail.com> | 2018-05-01 01:07:46 -0700 |
commit | 46233064c5527da13c9ea1668a41659a7f8e9a45 (patch) | |
tree | dad4ee5d8871a3a7cac1c726122061d2172a8be4 | |
parent | 7506c2a2c158513ab3db9d382495e089725d79f3 (diff) | |
download | ChibiOS-Contrib-46233064c5527da13c9ea1668a41659a7f8e9a45.tar.gz ChibiOS-Contrib-46233064c5527da13c9ea1668a41659a7f8e9a45.tar.bz2 ChibiOS-Contrib-46233064c5527da13c9ea1668a41659a7f8e9a45.zip |
iasdfa
-rw-r--r-- | os/hal/ports/KINETIS/MK66F18/hal_lld.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/ports/KINETIS/MK66F18/hal_lld.h b/os/hal/ports/KINETIS/MK66F18/hal_lld.h index 832955e..4faf575 100644 --- a/os/hal/ports/KINETIS/MK66F18/hal_lld.h +++ b/os/hal/ports/KINETIS/MK66F18/hal_lld.h @@ -128,6 +128,9 @@ #if !defined(KINETIS_CLKDIV1_OUTDIV3) || defined(__DOXYGEN__)
#if defined(KINETIS_FLEXBUSCLK_FREQUENCY) && KINETIS_FLEXBUSCLK_FREQUENCY > 0
#define KINETIS_CLKDIV1_OUTDIV3 (KINETIS_PLLCLK_FREQUENCY/KINETIS_FLEXBUSCLK_FREQUENCY)
+ #else
+ /* If no FlexBus frequency provided, use bus speed divider */
+ #define KINETIS_CLKDIV1_OUTDIV3 KINETIS_CLKDIV1_OUTDIV2
#endif
#endif
|