cc2531 B1 support. B2 to come

This commit is contained in:
George Oikonomou 2011-12-16 19:01:33 +00:00 committed by George Oikonomou
parent 26ae56fcaf
commit c95fc4f360
2 changed files with 23 additions and 3 deletions

View file

@ -80,8 +80,13 @@ int configure(int type, int value)
return 0;
}
/*---------------------------------------------------------------------------*/
#if MODEL_CC2531
void
port_1_isr(void) __interrupt(P1INT_VECTOR)
#else
void
port_0_isr(void) __interrupt(P0INT_VECTOR)
#endif
{
EA = 0;
ENERGEST_ON(ENERGEST_TYPE_IRQ);