Write using template string, not object
This commit is contained in:
parent
c87d425c57
commit
a0729ff9d9
|
@ -72,6 +72,7 @@ class Intval {
|
|||
if (err) {
|
||||
console.error(err)
|
||||
}
|
||||
console.log(`Release switch val: ${val}`)
|
||||
}
|
||||
setDir (val = true) {
|
||||
if (typeof val !== 'boolean') {
|
||||
|
@ -106,7 +107,7 @@ class Intval {
|
|||
|
||||
let len = (+new Date()) - this._state.frame.start
|
||||
|
||||
console.log(`Frame stopped`, { ms : len })
|
||||
console.log(`Frame stopped ${len}ms`)
|
||||
|
||||
this._pin.micro.unwatch()
|
||||
this._state.frame.active = false
|
||||
|
|
Loading…
Reference in New Issue