RTEMS | bsps/uC5282: Convert tabs to spaces (!589)

Kinsey Moore (@opticron) gitlab at rtems.org
Wed Jul 16 19:45:26 UTC 2025




Kinsey Moore started a new discussion on bsps/m68k/uC5282/clock/clock.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/589#note_126664

 > -		}                                                                \
 > -		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;                                              \

It looks like these may not have gotten replace correctly as the new indentation doesn't match that of the surrounding code. This applies elsewhere as well.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/589#note_126664
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/0e968ceb/attachment-0001.htm>


More information about the bugs mailing list