mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
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:
parent
18e1f92f0e
commit
a779cb4d0d
@ -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
|
||||
|
@ -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) {
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user