summary refs log tree commit diff
path: root/arch/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'arch/src/lib.rs')
-rw-r--r--arch/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/src/lib.rs b/arch/src/lib.rs
index 71e4327..28f1168 100644
--- a/arch/src/lib.rs
+++ b/arch/src/lib.rs
@@ -271,6 +271,9 @@ pub fn add_serial_devices(
 
         if param.console {
             stdio_serial_num = Some(x + 1);
+        }
+
+        if param.stdin {
             stdio_serial = Some(com.clone());
         }
     }