瀏覽代碼

remove print

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) {