forked from Imagelibrary/rtems
bsps/no_cpu/no_bsp/clock/ckinit.c: Fixed formatting
Fixed formatting as suggested by the format diff, no functional changes were made.
This commit is contained in:
committed by
Gedare Bloom
parent
6f51e669ad
commit
fee83ad4fb
@@ -60,7 +60,7 @@ volatile uint32_t Clock_driver_ticks;
|
|||||||
* length of time between the user configured microseconds per tick
|
* length of time between the user configured microseconds per tick
|
||||||
* has passed.
|
* has passed.
|
||||||
*/
|
*/
|
||||||
uint32_t Clock_isrs; /* ISRs until next tick */
|
uint32_t Clock_isrs; /* ISRs until next tick */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The previous ISR on this clock tick interrupt vector.
|
* The previous ISR on this clock tick interrupt vector.
|
||||||
@@ -72,9 +72,7 @@ static void Clock_exit( void );
|
|||||||
/*
|
/*
|
||||||
* Isr Handler
|
* Isr Handler
|
||||||
*/
|
*/
|
||||||
static rtems_isr Clock_isr(
|
static rtems_isr Clock_isr( rtems_vector_number vector )
|
||||||
rtems_vector_number vector
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* bump the number of clock driver ticks since initialization
|
* bump the number of clock driver ticks since initialization
|
||||||
@@ -92,9 +90,7 @@ static rtems_isr Clock_isr(
|
|||||||
* Install a clock tick handler and reprograms the chip. This
|
* Install a clock tick handler and reprograms the chip. This
|
||||||
* is used to initially establish the clock tick.
|
* is used to initially establish the clock tick.
|
||||||
*/
|
*/
|
||||||
void Install_clock(
|
void Install_clock( rtems_isr_entry clock_isr )
|
||||||
rtems_isr_entry clock_isr
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Initialize the clock tick device driver variables
|
* Initialize the clock tick device driver variables
|
||||||
|
|||||||
Reference in New Issue
Block a user