Skip to content

Commit a836d9f

Browse files
author
Ke, Mingze
committed
Explicitly auto-reconnect. Updated webduino-js
1 parent bc5e4f5 commit a836d9f

3 files changed

Lines changed: 20 additions & 17 deletions

File tree

code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ Code.checkDeviceOnline = function (device) {
277277
boardReady({
278278
device: v,
279279
multi: true
280-
}, function (board) {
280+
}, true, function (board) {
281281
device.icon.setAttribute('class', 'check board-online icon-power');
282282
board.once(webduino.BoardEvent.DISCONNECT, function (e) {
283283
device.icon.setAttribute('class', 'check board-error icon-power');

0 commit comments

Comments
 (0)