Permalink
Browse files

First stable release

  • Loading branch information...
1 parent f13d4f2 commit 92034c2ff32c5f6c6e8e9982221cd6a570fd419f @fanakin committed Apr 6, 2012
Showing with 5 additions and 3 deletions.
  1. +1 −0 platform/arnNanoM/.gitignore
  2. +1 −1 platform/arnNanoM/dev/irq.c
  3. +3 −2 platform/arnNanoM/dev/wismo218-arch.c
View
1 platform/arnNanoM/.gitignore
@@ -2,3 +2,4 @@ Makefile.arnNanoM~
clock.c~
contiki-conf.h~
contiki-main.c~
+eeprom.c~
View
2 platform/arnNanoM/dev/irq.c
@@ -13,7 +13,7 @@ WDT.TCSRWD.BYTE = 0x10;
// settaggio porte non usate come output e basse
IO.PCR1 = (BIT2 | BIT0); // P10 wismo ON. P12 wismo RST
-IO.PDR1.BYTE |= 0x05;
+IO.PDR1.BYTE &= ~0x05;
IO.PCR2 = (BIT4 | BIT3 | BIT0);
IO.PDR2.BYTE |= 0x19;
View
5 platform/arnNanoM/dev/wismo218-arch.c
@@ -49,18 +49,19 @@ void
wismo218_Init(void)
{
wismo218_On();
+
}
void
wismo218_On(void)
{
- ON_NOT_OFF = 1;
+ ON_NOT_OFF = 0;
}
void
wismo218_Off(void)
{
- ON_NOT_OFF = 0;
+ ON_NOT_OFF = 1;
}
void

0 comments on commit 92034c2

Please sign in to comment.