Changeset 3938b437 in rtems


Ignore:
Timestamp:
Sep 2, 2008, 12:56:52 PM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
f58412d
Parents:
67b3516
Message:

Misc. bool cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c

    r67b3516 r3938b437  
    460460  int ch;
    461461
    462   if (uart->parerr_mark_flag == 1) {
    463     uart->parerr_mark_flag = 0;
     462  if (uart->parerr_mark_flag == true) {
     463    uart->parerr_mark_flag = false;
    464464    return 0;
    465465  }
     
    492492  if (parity_error && !(uart->c_iflag & IGNPAR)) {
    493493    if (uart->c_iflag & PARMRK) {
    494       uart->parerr_mark_flag = 1;
     494      uart->parerr_mark_flag = true;
    495495      return 0xff;
    496496    } else
Note: See TracChangeset for help on using the changeset viewer.