From 11ca1660069bbeaba478a8c8be5dbf2a3c3fb60c Mon Sep 17 00:00:00 2001 From: GuEe-GUI <2991707448@qq.com> Date: Sun, 14 Jun 2026 11:37:08 +0800 Subject: [dm][ptp] support Precision Time Protocol (PTP) IEEE 1588 clock Signed-off-by: GuEe-GUI <2991707448@qq.com> --- components/drivers/include/rtdevice.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'components/drivers/include/rtdevice.h') 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 -- cgit v1.3.1