Skip to content

Commit

Permalink
example: platform: Fix artik530 export (#32)
Browse files Browse the repository at this point in the history
Mistake BoardThing should be a "constructor" for new

Maybe squashed into:

eff5122

Relate-to: #30
Change-Id: I15d8dfe936598a7a12da5d183965d5c896815a0e
Signed-off-by: Philippe Coval <p.coval@samsung.com>
  • Loading branch information
rzr authored and mrstegeman committed Aug 29, 2018
1 parent 0092be5 commit 9ad9908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/platform/board/artik530.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class ARTIK530Thing extends Thing {
}
}

module.exports = () => {
module.exports = function() {
if (!module.exports.instance) {
module.exports.instance = new ARTIK530Thing();
}
Expand Down

0 comments on commit 9ad9908

Please sign in to comment.