Changeset 0a84172b in rtems


Ignore:
Timestamp:
Apr 24, 2017, 12:42:09 AM (2 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
ecd4cd4
Parents:
0c334a5
git-author:
Joel Sherrill <joel@…> (04/24/17 00:42:09)
git-committer:
Joel Sherrill <joel@…> (04/24/17 17:00:54)
Message:

uC5282/console/console.c: Add braces and correct indentation to fix warnings

File:
1 edited

Legend:

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

    r0c334a5 r0a84172b  
    111111        info->hwflow   = hwflow;
    112112
    113     clock_speed = bsp_get_CPU_clock_speed();
    114     /* determine the baud divisor value */
    115     divisor = (clock_speed / ( 32 * baud ));
    116     if ( divisor < 2 )
    117         divisor = 2;
     113        clock_speed = bsp_get_CPU_clock_speed();
     114        /* determine the baud divisor value */
     115        divisor = (clock_speed / ( 32 * baud ));
     116        if ( divisor < 2 ) {
     117                divisor = 2;
     118        }
    118119
    119120        /* check to see if doing hardware flow control */
Note: See TracChangeset for help on using the changeset viewer.