aboutsummaryrefslogtreecommitdiffstats
path: root/com32/samples/serialinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/samples/serialinfo.c')
-rw-r--r--com32/samples/serialinfo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/com32/samples/serialinfo.c b/com32/samples/serialinfo.c
index 10d02521..2936b4e5 100644
--- a/com32/samples/serialinfo.c
+++ b/com32/samples/serialinfo.c
@@ -25,7 +25,13 @@ int main(void)
{
const struct syslinux_serial_console_info *si;
+#if 0
+ /* this hangs! */
openconsole(&dev_null_r, &dev_stdcon_w);
+#else
+ /* this works */
+ openconsole(&dev_rawcon_r, &dev_ansiserial_w);
+#endif
si = syslinux_serial_console_info();