diff options
-rw-r--r-- | common/console.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/console.c b/common/console.c index b1afb650ed3..9064a6c2303 100644 --- a/common/console.c +++ b/common/console.c @@ -236,6 +236,7 @@ int cd_count[MAX_FILES]; static void __maybe_unused console_devices_set(int file, struct stdio_dev *dev) { console_devices[file][0] = dev; + cd_count[file] = 1; } /** |