Chris Mullins 8 rokov pred
rodič
commit
e8aa4957a0
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  1. 0 1
      lib/MiLight/RgbCctPacketFormatter.cpp

+ 0 - 1
lib/MiLight/RgbCctPacketFormatter.cpp

@@ -139,7 +139,6 @@ void RgbCctPacketFormatter::parsePacket(const uint8_t *packet, JsonObject& resul
     uint8_t temperature = RGB_CCT_KELVIN_OFFSET;
     temperature -= arg;
     temperature /= 2;
-    printf("Temperature: %d -> %u\n", arg, temperature);
     result["temperature"] = temperature;
   // brightness == saturation
   } else if (command == RGB_CCT_BRIGHTNESS && arg >= RGB_CCT_BRIGHTNESS_OFFSET) {