Ignore:
Timestamp:
Sep 18, 2017, 6:22:38 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
a029230a
Parents:
c030edd
Message:

bsps: Clock_driver_support_install_isr()

Remove old ISR parameter since is not used by the clock driver shell.
Make an implementation optional.

Update #3139.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon2/clock/ckinit.c

    rc030edd rf3b29236  
    6969#define CLOCK_VECTOR LEON_TRAP_TYPE( LEON_INTERRUPT_TIMER1 )
    7070
    71 #define Clock_driver_support_install_isr( _new, _old ) \
    72   do { \
    73     _old = set_vector( _new, CLOCK_VECTOR, 1 ); \
    74   } while(0)
     71#define Clock_driver_support_install_isr( _new ) \
     72  set_vector( _new, CLOCK_VECTOR, 1 )
    7573
    7674extern int CLOCK_SPEED;
Note: See TracChangeset for help on using the changeset viewer.