Bug with ID2 on simu for ARM

This commit is contained in:
bsongis
2012-05-07 07:06:17 +00:00
parent 4d953a8452
commit 8f2a091fbe
+2
View File
@@ -62,6 +62,7 @@ void setSwitch(int8_t swtch)
case DSW_ID0:
#if defined(PCBARM)
PIOC->PIO_PDSR &= ~0x00004000;
PIOC->PIO_PDSR |= 0x00000800;
#elif defined(PCBV4)
ping |= (1<<INP_G_ID1);
pinb &= ~(1<<INP_B_ID2);
@@ -84,6 +85,7 @@ void setSwitch(int8_t swtch)
case DSW_ID2:
#if defined(PCBARM)
PIOC->PIO_PDSR &= ~0x00000800;
PIOC->PIO_PDSR |= 0x00004000;
#elif defined(PCBV4)
ping &= ~(1<<INP_G_ID1);
pinb |= (1<<INP_B_ID2);