[PATCH v2 11/12] timepps.h: Move hardpps to the _ namespace

Gabriel Moyano gabriel.moyano at dlr.de
Fri Apr 29 07:20:50 UTC 2022


---
 cpukit/include/sys/timepps.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpukit/include/sys/timepps.h b/cpukit/include/sys/timepps.h
index b13ac6bf26..25370f3f4b 100644
--- a/cpukit/include/sys/timepps.h
+++ b/cpukit/include/sys/timepps.h
@@ -28,6 +28,7 @@
 #include <rtems/score/atomic.h>
 #include <rtems/rtems/types.h>
 #define PPS_SYNC
+#define hardpps _PPS_Discipline_cpu_clock
 #endif /* __rtems__ */
 
 #define PPS_API_VERS_1	1
-- 
2.25.1



More information about the devel mailing list