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.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs