Changeset 50b1269 in rtems


Ignore:
Timestamp:
Apr 8, 2017, 11:25:43 AM (2 years ago)
Author:
Cillian O'Donnell <cpodonnell8@…>
Branches:
master
Children:
b53ad46
Parents:
28593c6
git-author:
Cillian O'Donnell <cpodonnell8@…> (04/08/17 11:25:43)
git-committer:
Joel Sherrill <joel@…> (04/14/17 18:01:14)
Message:

m68k/mrm332/./sci.c: Use inttypes.h constants removes 6 warnings.

File:
1 edited

Legend:

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

    r28593c6 r50b1269  
    8888#include "sci.h"
    8989#include <rtems/m68k/qsm.h>
     90#include <inttypes.h>
    9091/*#include "../misc/include/cpu332.h" */
    9192
     
    15771578    printk( "Current baud rate is %d bps or %d cps\r\n\n", SciBaud, SciBaud / 10 );
    15781579
    1579     printk( "SCI Uart chars in       %8d\r\n", SciBytesIn       );
    1580     printk( "SCI Uart chars out      %8d\r\n", SciBytesOut      );
    1581     printk( "SCI Uart framing errors %8d\r\n", SciErrorsFraming );
    1582     printk( "SCI Uart parity  errors %8d\r\n", SciErrorsParity  );
    1583     printk( "SCI Uart overrun errors %8d\r\n", SciErrorsOverrun );
    1584     printk( "SCI Uart noise   errors %8d\r\n", SciErrorsNoise   );
     1580    printk( "SCI Uart chars in       %8" PRIu32 "\r\n", SciBytesIn       );
     1581    printk( "SCI Uart chars out      %8" PRIu32 "\r\n", SciBytesOut      );
     1582    printk( "SCI Uart framing errors %8" PRIu32 "\r\n", SciErrorsFraming );
     1583    printk( "SCI Uart parity  errors %8" PRIu32 "\r\n", SciErrorsParity  );
     1584    printk( "SCI Uart overrun errors %8" PRIu32 "\r\n", SciErrorsOverrun );
     1585    printk( "SCI Uart noise   errors %8" PRIu32 "\r\n", SciErrorsNoise   );
    15851586
    15861587    return;
Note: See TracChangeset for help on using the changeset viewer.