fix high-speed enhanced serial mode
This commit is contained in:
@@ -134,8 +134,8 @@ Device* Device::create(const char* name, unsigned int extraLatency, bool checkDe
|
|||||||
free(in);
|
free(in);
|
||||||
return new NetworkDevice(name, hostOrIp, port, extraLatency, readOnly, initialSend, udp, enhanced);
|
return new NetworkDevice(name, hostOrIp, port, extraLatency, readOnly, initialSend, udp, enhanced);
|
||||||
}
|
}
|
||||||
// support enh:/dev/<device>
|
// support enh:/dev/<device>, ens:/dev/<device>, and /dev/<device>
|
||||||
return new SerialDevice(name, checkDevice, extraLatency, readOnly, initialSend, enhanced);
|
return new SerialDevice(name, checkDevice, extraLatency, readOnly, initialSend, enhanced, highSpeed);
|
||||||
}
|
}
|
||||||
|
|
||||||
result_t Device::open() {
|
result_t Device::open() {
|
||||||
|
|||||||
Reference in New Issue
Block a user