Temporary fix for hyperion sometimes disabling protobuf input and flickering

master
Kuba Orlik 10 months ago
parent da0470b7b0
commit aec23b6c55

@ -15,6 +15,10 @@ module.exports = {
},
set: (new_color) => {
// because sometimes protobuf disconnects and I don't know why
if (new_color.every((n) => n == 0)) {
return;
}
latest_color = new_color;
},
};

Loading…
Cancel
Save