RTEMS | bsps/uC5282: Convert tabs to spaces (!589)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Jul 17 13:52:54 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_126693
> - 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;
> - }
> + 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;
> + }
This is still indented incorrectly.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/589#note_126693
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/6c42bcc1/attachment-0001.htm>
More information about the bugs
mailing list