Skip to content

Commit 513fc68

Browse files
committed
Revert "Merge pull request #612 from pyocoding/develop-hw"
This reverts commit c631aa4, reversing changes made to 0e1410e.
1 parent c631aa4 commit 513fc68

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

app/modules/0uboard.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,7 @@ Module.prototype.setSerialPort = function (sp) {
9090

9191
// Module.prototype.lostController = function () {};
9292

93-
Module.prototype.requestInitialData = function(sp) {
94-
this.sp = sp;
95-
this.sp.binding.openOptions.hupcl=false;
96-
this.sp.set({ dtr: false, rts: true });
97-
this.sp.set({ dtr: false, rts: false });
93+
Module.prototype.requestInitialData = function() {
9894
return this.makeSensorReadBuffer(this.sensorTypes.ANALOG, 0);
9995
};
10096

app/modules/0uboard.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"duration": 32,
3030
"vendor": ["Arduino", "wch.cn", "FTDI"],
3131
"baudRate": 57600,
32-
"lostTimer": 5000,
32+
"lostTimer": 1000,
3333
"firmwarecheck": false
3434
}
3535
}

0 commit comments

Comments
 (0)