You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
diff --git a/lib.c b/lib.c
|
|
index a2b829d..6a7e210 100644
|
|
--- a/lib.c
|
|
+++ b/lib.c
|
|
@@ -1141,7 +1141,7 @@ void serial_console_setup(char *param)
|
|
|
|
end++;
|
|
|
|
- if (*end != '\0' || *end != ' ')
|
|
+ if (*end != '\0' && *end != ' ')
|
|
return; /* garbage at the end */
|
|
|
|
serial_bits = bits;
|