From d88fbb61249e0472cf816abe80d5b63227a921a0 Mon Sep 17 00:00:00 2001 From: ikari Date: Wed, 29 Feb 2012 22:03:37 +0100 Subject: [PATCH] firmware/timer: move constants to header files --- src/timer.c | 6 +----- src/timer.h | 4 ++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/timer.c b/src/timer.c index 78fdff4..65af756 100644 --- a/src/timer.c +++ b/src/timer.c @@ -1,6 +1,7 @@ /* ___INGO___ */ #include +#include "power.h" #include "bits.h" #include "config.h" #include "timer.h" @@ -9,11 +10,6 @@ #include "sdnative.h" #include "snes.h" -/* bit definitions */ -#define RITINT 0 -#define RITEN 3 - -#define PCRIT 16 extern volatile int sd_changed; extern volatile int reset_changed; diff --git a/src/timer.h b/src/timer.h index f775015..4f79f9d 100644 --- a/src/timer.h +++ b/src/timer.h @@ -8,6 +8,10 @@ typedef unsigned int tick_t; extern volatile tick_t ticks; #define HZ 100 +/* bit definitions */ +#define RITINT 0 +#define RITEN 3 + /** * getticks - return the current system tick count *