Changeset a3d3d9a in rtems for c/src/libchip/rtc/m48t08.c


Ignore:
Timestamp:
Apr 20, 2004, 10:43:39 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
cdaff4d
Parents:
c8e8f119
Message:

Remove stray white spaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/rtc/m48t08.c

    rc8e8f119 ra3d3d9a  
    11/*
    2  *  This file interfaces with the real-time clock found in 
     2 *  This file interfaces with the real-time clock found in
    33 *  a Mostek M48T08 or M48T18 or compatibles.
    44 *
     
    7575  controlReg = (*getReg)( m48t08, M48T08_CONTROL );
    7676  (*setReg)( m48t08, M48T08_CONTROL, controlReg | M48T08_CONTROL_READ );
    77  
     77
    7878  value1 = (*getReg)( m48t08, M48T08_YEAR );
    7979  value2 = From_BCD( value1 );
     
    9797  value1 = (*getReg)( m48t08, M48T08_SECOND );
    9898  time->second = From_BCD( value1 );
    99  
     99
    100100  time->ticks  = 0;
    101101
     
    133133  controlReg = (*getReg)( m48t08, M48T08_CONTROL );
    134134  (*setReg)( m48t08, M48T08_CONTROL, controlReg | M48T08_CONTROL_WRITE );
    135  
     135
    136136  if ( time->year >= 2088 )
    137137    rtems_fatal_error_occurred( RTEMS_INVALID_NUMBER );
     
    143143  (*setReg)( m48t08, M48T08_MINUTE,  To_BCD(time->minute) );
    144144  (*setReg)( m48t08, M48T08_SECOND,  To_BCD(time->second) );
    145  
     145
    146146  /*
    147147   *  Put the RTC back into normal mode.
Note: See TracChangeset for help on using the changeset viewer.