diff options
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r-- | firmware/target/arm/as3525/clock-target.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/clock-target.h b/firmware/target/arm/as3525/clock-target.h index 16f28429b8..2c3632c8be 100644 --- a/firmware/target/arm/as3525/clock-target.h +++ b/firmware/target/arm/as3525/clock-target.h | |||
@@ -21,6 +21,9 @@ | |||
21 | #ifndef CLOCK_TARGET_H | 21 | #ifndef CLOCK_TARGET_H |
22 | #define CLOCK_TARGET_H | 22 | #define CLOCK_TARGET_H |
23 | 23 | ||
24 | #include "config.h" | ||
25 | #include "cpu.h" | ||
26 | |||
24 | /* returns clock divider, given maximal target frequency and clock reference */ | 27 | /* returns clock divider, given maximal target frequency and clock reference */ |
25 | #define CLK_DIV(ref, target) ((ref + target - 1) / target) | 28 | #define CLK_DIV(ref, target) ((ref + target - 1) / target) |
26 | 29 | ||