RTEMS | bsps/uC5282: Convert tabs to spaces (!589)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Jul 17 13:53:16 UTC 2025
Kinsey Moore started a new discussion on bsps/m68k/uC5282/start/bspstart.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/589#note_126694
> + for ( clk_speed = 0, i=0;
> + clk_speed_str[i] >= '0' && clk_speed_str[i] <= '9';
> + i++ ) {
> + clk_speed = 10*clk_speed + clk_speed_str[i] - '0';
> + }
> + if ( 0 != clk_speed_str[i] ) {
> + printk("Not a decimal number; I'm not using this setting\n");
> + clk_speed = 0;
> + }
> } else {
> printk("Not set.\n");
> }
>
> if ( 0 == clk_speed )
> - clk_speed = BSP_sys_clk_speed;
> + clk_speed = BSP_sys_clk_speed;
This should have more indentation because it's in the conditional.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/589#note_126694
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/20250717/68b9941d/attachment.htm>
More information about the bugs
mailing list