summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-10-28 15:31:22 +0000
committer[email protected] <[email protected]>2012-10-28 15:31:22 +0000
commitc28737498220ed66a6ff7553fdd736e2c72837d1 (patch)
treeefd0ff87bf6ea64ef0973447d2eae4c5c55827c0 /components/drivers
parentc8857b64c01d9869faa88c49b6ea3cf23ec0f13f (diff)
add alarm
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2374 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/include/rtdevice.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index 878b60f0e8..09e969f1a7 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -138,7 +138,10 @@ rt_err_t rt_data_queue_peak(struct rt_data_queue *queue,
void rt_data_queue_reset(struct rt_data_queue *queue);
#ifdef RT_USING_RTC
-#include "drivers/rtc.h"
+#include "drivers/rtc.h"
+#ifdef RT_USING_ALARM
+#include "drivers/alarm.h"
+#endif
#endif /* RT_USING_RTC */
#ifdef RT_USING_SPI