From 32893467bb39e1c8c56571f0506e09fbaa20ec0b Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sun, 18 Aug 2024 13:19:29 -0400 Subject: [PATCH] 3.4 almost working --- src/custom_modules/VoidGPIO.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/custom_modules/VoidGPIO.js b/src/custom_modules/VoidGPIO.js index ec8c5c0..c8b2b19 100644 --- a/src/custom_modules/VoidGPIO.js +++ b/src/custom_modules/VoidGPIO.js @@ -50,7 +50,7 @@ module.exports = { if (err) throw err; }); // Wait 1000ms before toggling again. - setTimeout(() => { + await setTimeout(() => { this.togglePin(pin.board, err => { if (err) throw err; });