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.


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

Reply via email to