Skip to content

Commit 80d2957

Browse files
author
thyttan
committed
Dial_Display: tweaks to debugging code
1 parent 957e2dc commit 80d2957

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/Dial_Display.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,17 @@ let dialDisplayGenerator = function(options) {
5656
return dialDisplay;
5757
}
5858

59+
// Debugging below
60+
5961
let options = {};
6062
let dialDisplay = dialDisplayGenerator(options);
6163

6264
let cb = (step)=>{
6365
print(step);
64-
dialDisplay(step);
66+
let value = dialDisplay(step);
67+
print(value);
6568
};
6669

70+
g.clear();
6771
let dial = require("Dial")(cb);
6872
Bangle.on("drag", dial);

0 commit comments

Comments
 (0)