aboutsummaryrefslogtreecommitdiffstats
path: root/com32/samples/advdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/samples/advdump.c')
-rw-r--r--com32/samples/advdump.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/com32/samples/advdump.c b/com32/samples/advdump.c
index 2c786416..83fe8381 100644
--- a/com32/samples/advdump.c
+++ b/com32/samples/advdump.c
@@ -27,7 +27,13 @@ int main(void)
size_t s = syslinux_adv_size();
char buf[256];
+#if 0
+ /* this hangs! */
openconsole(&dev_stdcon_r, &dev_stdcon_w);
+#else
+ /* this works */
+ openconsole(&dev_rawcon_r, &dev_ansiserial_w);
+#endif
p = syslinux_adv_ptr();