forked from Imagelibrary/rtems
bsps: Fix clock driver defines
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#include <pxa255.h>
|
||||
|
||||
#if ON_SKYEYE==1
|
||||
#define CLOCK_DRIVER_USE_FAST_IDLE
|
||||
#define CLOCK_DRIVER_USE_FAST_IDLE 1
|
||||
#endif
|
||||
|
||||
static unsigned long period_num;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include <libcpu/coreTimerRegs.h>
|
||||
|
||||
#if (BFIN_ON_SKYEYE)
|
||||
#define CLOCK_DRIVER_USE_FAST_IDLE
|
||||
#define CLOCK_DRIVER_USE_FAST_IDLE 1
|
||||
#endif
|
||||
|
||||
volatile uint32_t Clock_driver_ticks;
|
||||
@@ -36,7 +36,7 @@ static rtems_isr clockISR(rtems_vector_number vector) {
|
||||
|
||||
Clock_driver_ticks += 1;
|
||||
|
||||
#ifdef CLOCK_DRIVER_USE_FAST_IDLE
|
||||
#if CLOCK_DRIVER_USE_FAST_IDLE
|
||||
do {
|
||||
rtems_clock_tick();
|
||||
} while (
|
||||
|
||||
Reference in New Issue
Block a user