X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Finclude%2Ftimer.h;h=139bc390c99c1ee9d77be06e104ea5da3e4f04ec;hb=1f52b1617d72cfa6909ebbfbdf7c264d487b28d8;hp=1b9d1c17f74f00f73eb92a57b5764555e43403f7;hpb=e5ef38a8fa9ef524c3ef061083ce35d1529e5ea0;p=carl9170fw.git diff --git a/carlfw/include/timer.h b/carlfw/include/timer.h index 1b9d1c1..139bc39 100644 --- a/carlfw/include/timer.h +++ b/carlfw/include/timer.h @@ -84,7 +84,7 @@ static inline __inline void udelay(const uint32_t usec) } } -void clock_set(enum cpu_clock_t _clock, bool on); +void clock_set(const enum cpu_clock_t _clock, const bool on, const unsigned int div); void handle_timer(void); void timer_init(const unsigned int timer, const unsigned int interval);