mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
fix the callback on list. callback was on the wrong function
This commit is contained in:
parent
ce51f4d093
commit
ba90601d61
1 changed files with 2 additions and 2 deletions
|
|
@ -211,7 +211,7 @@ function listUnix (callback) {
|
|||
manufacturer: undefined,
|
||||
pnpId: file
|
||||
});
|
||||
}, callback);
|
||||
});
|
||||
// Suspect code per ticket: #104 removed for deeper inspection.
|
||||
// fs.readdir("/dev/serial/by-path", function(err_path, paths) {
|
||||
// if (err_path) {
|
||||
|
|
@ -243,7 +243,7 @@ function listUnix (callback) {
|
|||
// });
|
||||
// });
|
||||
// }, callback);
|
||||
});
|
||||
}, callback);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue