XXX Interrupts by cc2420 & adxl345 compatible now

Still remains to be seen why i2cmaster.c and adxl345.c need to be added
in the Makefile.common at the very beginnig with the env. var.
PROJECT_SOURCEFILES += i2cmaster.c adxl345.c
This commit is contained in:
Enric M. Calvo 2011-02-27 18:02:12 +01:00
parent 18e1f92f0e
commit a779cb4d0d
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# $Id: Makefile.z1,v 1.5 2011/02/26 enricmcalvo Exp $
#PROJECT_SOURCEFILES += i2cmaster.c adxl345.c
PROJECT_SOURCEFILES += i2cmaster.c adxl345.c
CFLAGS+=-Os -g
CLEAN += symbols.c symbols.h
#CFLAGS += -ffunction-sections

View File

@ -371,7 +371,7 @@ PROCESS_THREAD(accmeter_process, ev, data) {
/* XXX This interrupt vector is shared with the interrupts from CC2420, so that
was moved here but should find a better home. XXX */
#if 0
#if 1
static struct timer suppressTimer1, suppressTimer2;
interrupt(PORT1_VECTOR) port1_isr (void) {

View File

@ -47,7 +47,7 @@
#endif
/*---------------------------------------------------------------------------*/
#if 1
#if 0
// this is now handled in the ADXL345 accelerometer code as it uses irq on port1 too.
interrupt(CC2420_IRQ_VECTOR)
cc24240_port1_interrupt(void)