remove sensor logging

This commit is contained in:
Silver Kuusik 2018-09-12 22:31:11 +02:00
parent 12e6ee31b2
commit e0ffa54bbf

View File

@ -63,7 +63,6 @@ Sumorobot.prototype.connect = function() {
self.sensors = JSON.parse(data);
// When sensor data received
if (self.sensors['battery_voltage']) {
console.log(self.sensors);
if (self.sensors['battery_voltage'] > 4.0) {
$("#battery img").attr("src", "assets/img/battery_full.png");
} else if (self.sensors['battery_voltage'] > 3.1) {