Skip to content

Commit

Permalink
Update color_pulse example
Browse files Browse the repository at this point in the history
  • Loading branch information
intrueder committed Jun 2, 2021
1 parent af17534 commit 9eb0650
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/color_pulse/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function main() {
const details = sdk.CorsairPerformProtocolHandshake()
const errCode = sdk.CorsairGetLastError()
if (errCode !== 0) {
console.error(`Handshake failed: ${sdk.CorsairErrorString[errCode]}`)
console.error(`Handshake failed: ${sdk.CorsairErrorToString(errCode)}`)
exit(1)
}

Expand Down
4 changes: 2 additions & 2 deletions example/color_pulse/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "color_pulse",
"version": "1.0.1",
"version": "1.0.2",
"description": "",
"scripts": {
"start": "node app.js",
Expand All @@ -9,6 +9,6 @@
"author": "Corsair Memory, Inc.",
"license": "MIT",
"dependencies": {
"cue-sdk": "^1.6.0"
"cue-sdk": "^2.0.0"
}
}

0 comments on commit 9eb0650

Please sign in to comment.