aboutsummaryrefslogtreecommitdiffstats
path: root/com32/samples/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/samples/hello.c')
-rw-r--r--com32/samples/hello.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/com32/samples/hello.c b/com32/samples/hello.c
index 77e93ac7..eef85283 100644
--- a/com32/samples/hello.c
+++ b/com32/samples/hello.c
@@ -24,7 +24,13 @@ int main(int argc, char *argv[])
{
int i;
+#if 0
+ /* this hangs! */
openconsole(&dev_stdcon_r, &dev_stdcon_w);
+#else
+ /* this works */
+ openconsole(&dev_rawcon_r, &dev_ansiserial_w);
+#endif
printf("Hello, World!\n");