mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-16 04:45:18 +03:00
another run on undefined comparators
This commit is contained in:
parent
644fb5afed
commit
d4f4d619cf
5 changed files with 16 additions and 16 deletions
|
@ -13,7 +13,7 @@ var serial = {
|
|||
var self = this;
|
||||
|
||||
chrome.serial.connect(path, options, function(connectionInfo) {
|
||||
if (connectionInfo !== undefined) {
|
||||
if (connectionInfo) {
|
||||
self.connectionId = connectionInfo.connectionId;
|
||||
self.bitrate = connectionInfo.bitrate;
|
||||
self.bytes_received = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue