diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-08-06 18:07:22 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-08-06 18:07:22 +0200 |
commit | 6880dfb6b5949ba59089754c4ed84df50f291ee1 (patch) | |
tree | b17be4e8d4c19da60c7ee94465eead9e1beec1db /lamp.ts | |
parent | cea5847b01ad5412e2190a0adf352c7da9217fb9 (diff) |
more stable lamp mode switching
Diffstat (limited to 'lamp.ts')
-rw-r--r-- | lamp.ts | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -21,7 +21,6 @@ export default class Lamp { this.#color = newColor.map(c => Math.floor(c)) as LampColor; var message = this.colorToString(); if (this.last == message) return; // prevent duplicate messages - this.log.info(message); this.subpr.stdin.write(message + '\n'); this.last = message; } |