1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-26 06:09:41 +02:00

Update IRQ_RF after reworking both boards. IRQ_RF was erroneously connected

to P0_2 but it should go to P0_0.

- atrf/fw/common/io.h: IRQ_RF is now at P0_0
- atrf/fw/atspi/atspi.c: updated and simplified P0 initialization
This commit is contained in:
Werner Almesberger 2010-08-23 23:02:43 -03:00
parent b7700518d9
commit 738618a945
2 changed files with 2 additions and 4 deletions

View File

@ -63,9 +63,7 @@ static void init_io(void)
SLP_TR = 0;
SLP_TR_MODE |= 1 << SLP_TR_BIT;
P0 &=
~((1 << 0) | (1 << 3) | (1 << 4) | (1 << 5) | (1 << 6) | (1 << 7));
/* change 1 << 0 to 1 << 2 once 100813 boards are reworked */
P0 = 1; /* IRQ_RF = 1; LED = 0; the rest is unused */
P3 = 0;
#if 0

View File

@ -28,7 +28,7 @@
/* Miscellaneous RF signals */
#define nRST_RF P2_0
#define IRQ_RF P0_2 /* change to P0_0 when 100813 board are reworked */
#define IRQ_RF P0_0
#define SLP_TR P2_1
#endif /* !IO_H */