RTEMS | score: replace magic number with nanoseconds-per-second constant (!1533)
Avi Weiss (@thnkslprpt)
gitlab at rtems.org
Sat Oct 10 08:49:10 UTC 2026
Avi Weiss created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1533
Project:Branches: thnkslprpt/rtems:score-watchdogimpl-constant-and-doc-fixes to rtems/rtos/rtems:main
Author: Avi Weiss
## Summary
`cpukit/include/rtems/score/watchdogimpl.h`
Replace the hardcoded `1000000000` in the watchdog sbintime
conversion with the existing `WATCHDOG_NANOSECONDS_PER_SECOND` (already used multiple times in the same file)
No functional change.
2nd commit contains some minor comment + doxygen fixes in the same file.
<!-- Default settings, if it is a dropdown it will set after submission -->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1533
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-7yw07lnbpj727b03ux891vlhv-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20261010/260a81a3/attachment.htm>
More information about the bugs
mailing list