fixup! examples: add a sample application for showing timer usage
#include <tinyara/arch.h>
#include <tinyara/irq.h>
-#include <tinyara/clock.h>
#include <arch/board/board.h>
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
+#define USEC_TO_FREQ (1000000)
/****************************************************************************
* Private Types
@@ -281,7 +281,7 @@ FAR struct s5j_mct_priv_s *s5j_mct_init(int timer)
}
if (!g_mct_initialized && priv) {
- s5j_mct_setclock(USEC_PER_SEC);
+ s5j_mct_setclock(USEC_TO_FREQ);
g_mct_initialized = true;
}
