Changeset 523b4fb in rtems


Ignore:
Timestamp:
Apr 24, 2017, 4:15:18 PM (4 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
5, master
Children:
9beada51
Parents:
a300ca1b
git-author:
Joel Sherrill <joel@…> (04/24/17 16:15:18)
git-committer:
Joel Sherrill <joel@…> (04/24/17 17:00:57)
Message:

mcf5235/console/console.c: Fix indentation and add braces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/mcf5235/console/console.c

    ra300ca1b r523b4fb  
    9595        info->hwflow   = hwflow;
    9696
    97     clock_speed = get_CPU_clock_speed();
    98     /* determine the baud divisor value */
    99     divisor = ((clock_speed/2) / ( 32 * baud ));
    100     if ( divisor < 2 )
    101         divisor = 2;
     97        clock_speed = get_CPU_clock_speed();
     98        /* determine the baud divisor value */
     99        divisor = ((clock_speed/2) / ( 32 * baud ));
     100        if ( divisor < 2 ) {
     101                divisor = 2;
     102        }
    102103
    103104        /* check to see if doing hardware flow control */
Note: See TracChangeset for help on using the changeset viewer.