summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hodson <thomas.c.hodson@gmail.com>2022-11-22 14:39:46 +0100
committerTom Hodson <thomas.c.hodson@gmail.com>2022-11-22 14:39:46 +0100
commit3377b489c7a34d798321c8be2e32974145eb9c81 (patch)
treea6838a9ed3869536be99aa826c2b9a6fb7996a4e
parent0b3a1ed24402bee9b2e5c242ea79cb51cfafd4a0 (diff)
downloadSensor-Watch-3377b489c7a34d798321c8be2e32974145eb9c81.tar.gz
Sensor-Watch-3377b489c7a34d798321c8be2e32974145eb9c81.tar.bz2
Sensor-Watch-3377b489c7a34d798321c8be2e32974145eb9c81.zip
remove errant console.log
-rw-r--r--watch-library/simulator/watch/watch_led.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/watch-library/simulator/watch/watch_led.c b/watch-library/simulator/watch/watch_led.c
index 249be056..636dc74f 100644
--- a/watch-library/simulator/watch/watch_led.c
+++ b/watch-library/simulator/watch/watch_led.c
@@ -38,7 +38,6 @@ void watch_set_led_color(uint8_t red, uint8_t green) {
// this changes the color of the gradient to match the red+green combination
let filter = document.getElementById("ledcolor");
let color_matrix = filter.children[0].values.baseVal;
- console.log($0, $1);
color_matrix[1].value = $0 / 255; // red value
color_matrix[6].value = $1 / 255; // green value
document.getElementById('light').style.opacity = Math.min(255, $0 + $1) / 255;