Commit 947b878d by pye52

合并cmpt分支的修改

parents b3b88f83 0a7c1cea
...@@ -13,8 +13,8 @@ public class DefaultQRCodeScan implements IQRCodeScan { ...@@ -13,8 +13,8 @@ public class DefaultQRCodeScan implements IQRCodeScan {
private Serial serial; private Serial serial;
private InputStream serialPortIS; private InputStream serialPortIS;
public DefaultQRCodeScan(String filePath) throws Exception { public DefaultQRCodeScan(String portPath) throws Exception {
serial = new Serial(filePath, 115200, 0); serial = new Serial(portPath, 115200, 0);
this.serialPortIS = serial.getInputStream(); this.serialPortIS = serial.getInputStream();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment