summaryrefslogtreecommitdiff
path: root/2004/n/asserv/src/main.c
diff options
context:
space:
mode:
authorschodet2004-04-24 18:19:22 +0000
committerschodet2004-04-24 18:19:22 +0000
commitb01580be0e68f12420dbaf2492d569642394a9a3 (patch)
treedf5b339b01bd3f7a6a58a16e0d85a7e38c223444 /2004/n/asserv/src/main.c
parent3ef78b23f7aa93ac9799d325ea164db4a731651e (diff)
Correction du problème du port série.
Supression du calcul sur interruption RB. Passage en 115200.
Diffstat (limited to '2004/n/asserv/src/main.c')
-rw-r--r--2004/n/asserv/src/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/2004/n/asserv/src/main.c b/2004/n/asserv/src/main.c
index da49814..1188ea1 100644
--- a/2004/n/asserv/src/main.c
+++ b/2004/n/asserv/src/main.c
@@ -55,8 +55,8 @@ A1-5 B2-7 C4-5 D2-6 E0-2
/* Configuration gnrale. */
#fuses H4,WDT,WDT128,PUT,NOBROWNOUT,NOLVP
#use delay(clock=40000000)
-#use rs232(baud=38400,xmit=PIN_C6,parity=N,rcv=PIN_C7,bits=8)
-#priority RB,RDA,TBE,TIMER2
+#use rs232(baud=115200,xmit=PIN_C6,parity=N,rcv=PIN_C7,bits=8)
+#priority RDA,TBE,TIMER2
#include "motor.c"
#include "serial.c"
@@ -100,7 +100,6 @@ irq_init (void)
enable_interrupts (INT_TIMER2);
enable_interrupts (INT_RDA);
disable_interrupts (INT_TBE);
- enable_interrupts (INT_RB);
enable_interrupts (GLOBAL);
}