mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 11:10:29 +08:00
remove errant console.log
This commit is contained in:
parent
0b3a1ed244
commit
3377b489c7
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue