diff --git a/src/kservice.c b/src/kservice.c index cb0064f38b..12878e67d1 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -1073,7 +1073,7 @@ rt_device_t rt_console_set_device(const char *name) /* set new console device */ _console_device = new; - rt_device_open(_console_device, RT_DEVICE_OFLAG_RDWR); + rt_device_open(_console_device, RT_DEVICE_OFLAG_RDWR | RT_DEVICE_FLAG_STREAM); } return old;