summaryrefslogtreecommitdiff
path: root/n/avr/rs232/test_rs232.c
diff options
context:
space:
mode:
authorschodet2005-04-09 11:46:09 +0000
committerschodet2005-04-09 11:46:09 +0000
commit294fe97ae1b8e0b8ec341cb31fb7a5d7fd02066a (patch)
tree2c0953e95d3d78620f38ca2648391af02b985473 /n/avr/rs232/test_rs232.c
parenta957915d1fc7d5c465e43647bdce04ca8d9e992b (diff)
Correction du bug du mode RING : les interruptions s'interrompaient elle même.
Solution : SIGNAL au lieu de INTERRUPT.
Diffstat (limited to 'n/avr/rs232/test_rs232.c')
-rw-r--r--n/avr/rs232/test_rs232.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/n/avr/rs232/test_rs232.c b/n/avr/rs232/test_rs232.c
index 3771758..c08dcda 100644
--- a/n/avr/rs232/test_rs232.c
+++ b/n/avr/rs232/test_rs232.c
@@ -23,12 +23,15 @@
* }}} */
#include "rs232.h"
+#include <avr/interrupt.h>
+
/* +AutoDec */
/* -AutoDec */
int
main (void)
{
+ sei ();
rs232_init ();
rs232_putc ('N');
rs232_putc ('i');