From 14f3aec8dc96ae90eadee96b19f83f252033c09c Mon Sep 17 00:00:00 2001 From: ats1080 Date: Tue, 11 Apr 2017 14:35:25 -0400 Subject: [PATCH] Update oled.js --- oled.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oled.js b/oled.js index 2b8e2bd..838fa61 100644 --- a/oled.js +++ b/oled.js @@ -153,7 +153,7 @@ Oled.prototype._waitUntilReady = function(callback) { }); } - setTimeout(tick(callback), 0); + setTimeout(() => { tick(callback) }, 0); }; // set starting position of a text string on the oled