Skip to content

Commit

Permalink
fix: firmware target not set correctly (#601)
Browse files Browse the repository at this point in the history
Co-authored-by: Pat Wood <[email protected]>
Co-authored-by: Daniel Lando <[email protected]>
  • Loading branch information
3 people authored Feb 17, 2021
1 parent 0ee65fd commit 9d8b5d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ZwaveClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -2212,7 +2212,7 @@ ZwaveClient.prototype.refreshInfo = async function (nodeId) {
}

/**
* Start a frimware uddate
* Start a firmware update
*
* @param {number} nodeId
* @param {string} fileName
Expand Down Expand Up @@ -2246,7 +2246,7 @@ ZwaveClient.prototype.beginFirmwareUpdate = async function (
}

if (target >= 0) {
actualFirmware.target = target
actualFirmware.firmwareTarget = target
}

return zwaveNode.beginFirmwareUpdate(
Expand Down

0 comments on commit 9d8b5d5

Please sign in to comment.