summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2026-06-14 11:37:08 +0800
committerRbb666 <[email protected]>2026-06-29 16:55:18 +0800
commit11ca1660069bbeaba478a8c8be5dbf2a3c3fb60c (patch)
tree29cc9051a874121b056d77e5dc7b9d31742c29a6 /components/drivers/include/rtdevice.h
parent1f9146897be1d898bea2a3ed0492c2d0a0507320 (diff)
[dm][ptp] support Precision Time Protocol (PTP) IEEE 1588 clock
Signed-off-by: GuEe-GUI <[email protected]>
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 b416b5e928..e6eb43bc57 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -64,6 +64,10 @@ extern "C" {
#include "drivers/led.h"
#endif /* RT_USING_LED */
+#ifdef RT_USING_PTP
+#include "drivers/ptp.h"
+#endif /* RT_USING_PTP */
+
#ifdef RT_USING_INPUT
#include "drivers/input.h"
#ifdef RT_INPUT_UAPI