From 8dd724cfa3b2d98d530eb5419f4dcc6c27c9152b Mon Sep 17 00:00:00 2001 From: Elijah Parker Date: Fri, 16 Dec 2016 11:07:18 -0600 Subject: [PATCH] patch for libgphoto2 --- main.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index f2b0b2e74..99dbe3b28 100644 --- a/main.js +++ b/main.js @@ -161,8 +161,11 @@ if (VIEW_HARDWARE) { } var patchLibGPhoto = function() { + console.log("patching libgphoto2..."); updates.patchLibGPhoto(function(err) { + console.log("patching libgphoto2 complete:", err); if(!err) { + console.log("compiling libgphoto2..."); updates.installLibGPhoto(function(err){ process.nextTick(function(){ if(err) { // error compiling @@ -1870,9 +1873,9 @@ function startScan() { }, 500); scanTimerHandle3 = setTimeout(function() { if (noble.state == "poweredOn") { - console.log("Starting BLE scan..."); + //console.log("Starting BLE scan..."); noble.startScanning(nmx.btServiceIds, false, function(err){ - console.log("BLE scan started: ", err); + //console.log("BLE scan started: ", err); }); } btleScanStarting = false;