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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!conn) {
|
if (!conn)
|
||||||
sr_err("ols: No serial port specified.");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
|
||||||
|
|
||||||
if (serialcomm == NULL)
|
if (serialcomm == NULL)
|
||||||
serialcomm = SERIALCOMM;
|
serialcomm = SERIALCOMM;
|
||||||
|
|
Loading…
Reference in New Issue