summaryrefslogtreecommitdiff
path: root/n
diff options
context:
space:
mode:
authorschodet2005-11-05 22:18:39 +0000
committerschodet2005-11-05 22:18:39 +0000
commit170c552ebdc180e3a231231d5851909fd29f6f39 (patch)
treebc18626edb19a8036c561813efb71e5d2a9dfcb1 /n
parent3f27c3e3fbedc75e6a04258aa7e375c9c632ea3d (diff)
Correction de avrconfig.h.
Tests sur host.
Diffstat (limited to 'n')
-rw-r--r--n/avr/modules/proto/test/avrconfig.h3
-rw-r--r--n/avr/modules/proto/test/test_proto.c1
2 files changed, 2 insertions, 2 deletions
diff --git a/n/avr/modules/proto/test/avrconfig.h b/n/avr/modules/proto/test/avrconfig.h
index 20cdbfb..8a51410 100644
--- a/n/avr/modules/proto/test/avrconfig.h
+++ b/n/avr/modules/proto/test/avrconfig.h
@@ -59,7 +59,7 @@
/** In HOST compilation:
* - STDIO: use stdin/out.
* - PTS: use pseudo terminal. */
-#define AC_UART0_HOST_DRIVER PTS
+#define AC_UART0_HOST_DRIVER STDIO
/** Same thing for secondary port. */
#define AC_UART1_PORT -1
#define AC_UART1_BAUDRATE 115200
@@ -71,6 +71,7 @@
#define AC_UART1_SEND_BUFFER_SIZE 32
#define AC_UART1_RECV_BUFFER_SIZE 32
#define AC_UART1_SEND_BUFFER_FULL WAIT
+#define AC_UART1_HOST_DRIVER PTS
/* proto - Protocol module. */
/** Maximum argument size. */
diff --git a/n/avr/modules/proto/test/test_proto.c b/n/avr/modules/proto/test/test_proto.c
index 3b7e535..0503b6c 100644
--- a/n/avr/modules/proto/test/test_proto.c
+++ b/n/avr/modules/proto/test/test_proto.c
@@ -72,7 +72,6 @@ main (void)
sei ();
uart0_init ();
/* This command should be generaly sent on reset. */
- printf ("reset\n");
proto_send0 ('z');
/* This is to accept commands. */
while (1)