[rtems commit] kern_tc.c: Enable PPS API support

Sebastian Huber sebh at rtems.org
Mon May 23 07:04:27 UTC 2022


Module:    rtems
Branch:    master
Commit:    13513b810422fe181254cba32d61d85ad79d6cf2
Changeset: http://git.rtems.org/rtems/commit/?id=13513b810422fe181254cba32d61d85ad79d6cf2

Author:    Gabriel Moyano <gabriel.moyano at dlr.de>
Date:      Fri May 20 11:29:59 2022 +0200

kern_tc.c: Enable PPS API support

Update #2349.

---

 cpukit/score/src/kern_tc.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index fc11624a44..89ece1fbde 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_tc.c
@@ -1904,7 +1904,6 @@ SYSCTL_PROC(_kern_timecounter, OID_AUTO, choice,
     "Timecounter hardware detected");
 #endif /* __rtems__ */
 
-#ifndef __rtems__
 /*
  * RFC 2783 PPS-API implementation.
  */
@@ -2276,9 +2275,6 @@ pps_event(struct pps_state *pps, int event)
 	(*pps->wakeup)(pps);
 #endif /* __rtems__ */
 }
-#else /* __rtems__ */
-/* FIXME: https://devel.rtems.org/ticket/2349 */
-#endif /* __rtems__ */
 
 /*
  * Timecounters need to be updated every so often to prevent the hardware



More information about the vc mailing list