ols: if no serial port specified, this driver is not used.
This commit is contained in:
parent
766456be1c
commit
90165efe55
|
@ -409,10 +409,8 @@ static GSList *hw_scan(GSList *options)
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (!conn) {
|
||||
sr_err("ols: No serial port specified.");
|
||||
if (!conn)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (serialcomm == NULL)
|
||||
serialcomm = SERIALCOMM;
|
||||
|
|
Loading…
Reference in New Issue