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.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to