firmware/timer: move constants to header files

This commit is contained in:
ikari 2012-02-29 22:03:37 +01:00
parent 424e1642ea
commit d88fbb6124
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,7 @@
/* ___INGO___ */
#include <arm/NXP/LPC17xx/LPC17xx.h>
#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;

View File

@ -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
*