From 9d95ffa483b48a48072f7b60fdcfc54496e7da24 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Tue, 12 Dec 2017 13:14:20 -0500 Subject: [PATCH] Was trying to console.log an undefined string. --- index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 0221199..e6c6f50 100644 --- a/index.js +++ b/index.js @@ -286,8 +286,9 @@ function rSequence (req, res, next) { //Ble functions function bFrame (cb) { - console.log(str) - cb({ dir: true, len : 630 }) + let dir = intval._state.frame.dir + let len = 630 + cb({ dir: dir, len : len }) } function index (req, res, next) {