diff --git a/config.json b/config.json index a0c36a7..cd8f8fa 100644 --- a/config.json +++ b/config.json @@ -3,6 +3,5 @@ "brightness": 200, "gpio": 18, "type": "grb", - "fade_ticks": 25, - "sleep_time": 100 + "fade_ticks": 25 } \ No newline at end of file diff --git a/lights.js b/lights.js index c610ccf..1465b54 100644 --- a/lights.js +++ b/lights.js @@ -54,7 +54,7 @@ export function tick() { tick_pattern(); } ws281x.render(pixels); - ws281x.sleep(cfg.sleep_time || 500); + ws281x.sleep(500); } function fade(index) {