RTEMS | bsps/pc386: Fix RTC diagnostic format (!1339)

Yang Zhang (@Chloe) gitlab at rtems.org
Thu Jul 2 02:56:17 UTC 2026



Yang Zhang created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1339

Project:Branches: Chloe/rtems:fix-pc386-rtc-diagnostic-format to rtems/rtos/rtems:main
Author:   Yang Zhang



## Summary

bsps/pc386: Fix RTC diagnostic format

The RTC driver used the unsupported BSD-style %b conversion with only the diagnostic register value. This did not provide the intended bitmask decoding.

Print the diagnostic register as a two-digit hexadecimal value instead and remove the unused RTCDG_BITS definition.

## Generative AI

<!--If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->

None

<!--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/1339
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-252nsl9p1axy3kompjtx0znnk-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/20260702/355819ca/attachment-0001.htm>


More information about the bugs mailing list