From 9b721451bb52949b416d2837e2829e09fc94f684 Mon Sep 17 00:00:00 2001 From: Kristin Galvin Date: Sun, 19 Jan 2020 17:38:09 -0800 Subject: [PATCH] audio test --- apps/stetho/stetho.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/stetho/stetho.js b/apps/stetho/stetho.js index 8448422a8..bd943cab7 100644 --- a/apps/stetho/stetho.js +++ b/apps/stetho/stetho.js @@ -28,9 +28,9 @@ function readHRM() { } g.setColor(1,1,1); g.lineTo(x,y); - console.log("a ", a); - freq((a * 1000.0) + 100.0); - console.log("freq ", (a * 1000.0) + 100.0); + console.log("a ", y); + freq((y * 1000.0) + 100.0); + console.log("freq ", (y * 1000.0) + 100.0); if ((max-min)>0.005) { if (4*a > (min+3*max)) { // high g.setColor(1,0,0);