Chris Mullins 8 роки тому
батько
коміт
e8aa4957a0
1 змінених файлів з 0 додано та 1 видалено
  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) {