summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-12-23 23:34:23 +0800
committerBernard Xiong <[email protected]>2017-12-24 00:06:29 +0800
commit7c4417855e6bc0c863e6206c369cf8fc6ec77766 (patch)
tree35a5402b1ad9ac2dba38474231894a12816e8155 /components/drivers/include/rtdevice.h
parentef922c30885495e1b65e1c3926e6684d65614fdb (diff)
[DeviceDrivers] Add CPU time
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index 0f021da66e..f7aadd8305 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -108,6 +108,10 @@ extern "C" {
#include "drivers/audio.h"
#endif
+#ifdef RT_USING_CPUTIME
+#include "drivers/cputime.h"
+#endif
+
#ifdef __cplusplus
}
#endif