kern_tc.c: Enable PPS API support

Update #2349.
This commit is contained in:
Gabriel Moyano
2022-05-20 11:29:59 +02:00
committed by Sebastian Huber
parent c34d3aecb1
commit 13513b8104

View File

@@ -1904,7 +1904,6 @@ SYSCTL_PROC(_kern_timecounter, OID_AUTO, choice,
"Timecounter hardware detected"); "Timecounter hardware detected");
#endif /* __rtems__ */ #endif /* __rtems__ */
#ifndef __rtems__
/* /*
* RFC 2783 PPS-API implementation. * RFC 2783 PPS-API implementation.
*/ */
@@ -2276,9 +2275,6 @@ pps_event(struct pps_state *pps, int event)
(*pps->wakeup)(pps); (*pps->wakeup)(pps);
#endif /* __rtems__ */ #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 * Timecounters need to be updated every so often to prevent the hardware