Changeset 6adacd89 in rtems


Ignore:
Timestamp:
Oct 9, 2014, 3:43:14 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
bc77bda
Parents:
6279149
git-author:
Joel Sherrill <joel.sherrill@…> (10/09/14 15:43:14)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/10/14 15:17:17)
Message:

libchip/rtc/mc146818a.c: Compiles again and clean up

File:
1 edited

Legend:

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

    r6279149 r6adacd89  
    5757)
    5858{
    59   uint32_t     mc146818a;
     59  uintptr_t      mc146818a;
    6060  setRegister_f  setReg;
    6161
     
    6363  setReg = RTC_Table[ minor ].setRegister;
    6464
    65   (*setReg)( mc146818a, MC146818A_STATUSA, MC146818ASA_DIVIDER|MC146818ASA_1024 );
    66   (*setReg)( mc146818a, MC146818A_STATUSB, MC146818ASB_24HR );
     65  (*setReg)(
     66    mc146818a,
     67    MC146818A_STATUSA,
     68    MC146818ASA_DIVIDER|MC146818ASA_1024
     69  );
     70  (*setReg)(
     71    mc146818a,
     72    MC146818A_STATUSB,
     73    MC146818ASB_24HR
     74  );
    6775}
    6876
     
    7583)
    7684{
    77   uint32_t     mc146818a;
    78   getRegister_f  getReg;
    79   uint32_t     value;
     85  uintptr_t             mc146818a;
     86  getRegister_f         getReg;
     87  uint32_t              value;
    8088  rtems_interrupt_level level;
    8189
Note: See TracChangeset for help on using the changeset viewer.