RTEMS | bsps/uC5282: Convert tabs to spaces (!589)
Jeremy Lorelli (@jjl77)
gitlab at rtems.org
Wed Jul 16 23:03:56 UTC 2025
Jeremy Lorelli commented on a discussion on bsps/m68k/uC5282/clock/clock.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/589#note_126676
> - } \
> - PITC_PER_TICK = N; \
> - N = 2000000000ULL << preScaleCode; \
> - N /= bsp_get_CPU_clock_speed(); \
> - NSEC_PER_PITC = N; \
> + N = bsp_get_CPU_clock_speed(); \
> + N *= rtems_configuration_get_microseconds_per_tick(); \
> + N /= 2*1000000; /* min_prescale * us_per_s */ \
> + while ( N > 0x10000 ) { \
> + preScaleCode++; \
> + N >>= 1; \
> + } \
> + PITC_PER_TICK = N; \
> + N = 2000000000ULL << preScaleCode; \
> + N /= bsp_get_CPU_clock_speed(); \
> + NSEC_PER_PITC = N; \
I think I fixed all instances of this. Thanks for pointing it out.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/589#note_126676
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250716/e66da13b/attachment.htm>
More information about the bugs
mailing list