Fixed order in cdc serial port.
SmartBotKit/serial/master This commit looks good

This commit is contained in:
2019-05-02 09:44:22 +02:00
parent f86a358d70
commit 3c913f404e
@@ -67,7 +67,7 @@ public class CDCSerialPort extends AbstractSerialPort {
* @param device The device.
* @throws IOException Thrown if the port cannot be opened.
*/
public CDCSerialPort(SerialConfig config, UsbManager manager, UsbDevice device) throws IOException {
public CDCSerialPort(UsbManager manager, UsbDevice device, SerialConfig config) throws IOException {
super(manager, device, config);
init();
}