From c28737498220ed66a6ff7553fdd736e2c72837d1 Mon Sep 17 00:00:00 2001 From: "sc943313837@gmail.com" Date: Sun, 28 Oct 2012 15:31:22 +0000 Subject: [PATCH] add alarm git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2374 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/drivers/include/rtdevice.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- GitLab