summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)