瀏覽代碼

get rid of extraneous prints

Christopher Mullins 8 年之前
父節點
當前提交
5fd83f1256
共有 2 個文件被更改,包括 0 次插入7 次删除
  1. 0 5
      lib/MiLight/MiLightClient.cpp
  2. 0 2
      src/main.cpp

+ 0 - 5
lib/MiLight/MiLightClient.cpp

@@ -256,11 +256,6 @@ void MiLightClient::update(const JsonObject& request) {
     this->updateBeginHandler();
   }
 
-  String bb;
-  request.printTo(bb);
-  Serial.println("processing...");
-  Serial.println(bb);
-
   const uint8_t parsedStatus = this->parseStatus(request);
 
   // Always turn on first

+ 0 - 2
src/main.cpp

@@ -152,7 +152,6 @@ void handleListen() {
  */
 void onUpdateBegin() {
   if (bulbStateUpdater) {
-    Serial.println("Dsiabling state updates");
     bulbStateUpdater->disable();
   }
 }
@@ -163,7 +162,6 @@ void onUpdateBegin() {
  */
 void onUpdateEnd() {
   if (bulbStateUpdater) {
-    Serial.println("Re-enabling state updates");
     bulbStateUpdater->enable();
   }
 }