Ignore:
Timestamp:
Aug 11, 2000, 7:53:18 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e7de167c
Parents:
57b1f53
Message:

2000-08-11 Charles-Antoine Gauthier <charles.gauthier@…>

  • console.c(_BSP_output_char): Output CR after LF for printk.
File:
1 edited

Legend:

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

    r57b1f53 rb7d4d2a  
    14521452{
    14531453  rtems_device_minor_number printk_minor;
     1454  char cr ='\r';
    14541455 
    14551456  /*
     
    14591460  if ( NVRAM_CONFIGURE )
    14601461    /* J1-4 is on, use NVRAM info for configuration */
    1461     printk_minor = nvram->console_printk_port & 0x30;
     1462    printk_minor = (nvram->console_printk_port & 0x30) >> 4;
    14621463  else
    14631464    printk_minor = PRINTK_MINOR;
    14641465   
    14651466  _167Bug_pollWrite(printk_minor, &c, 1);
     1467  if ( c == '\n' )
     1468      _167Bug_pollWrite(printk_minor, &cr, 1);
    14661469}
    14671470
Note: See TracChangeset for help on using the changeset viewer.