diff --git a/platformio.ini b/platformio.ini index 36618b9..37e482e 100644 --- a/platformio.ini +++ b/platformio.ini @@ -18,8 +18,8 @@ platform = espressif8266 framework = arduino monitor_speed = 115200 upload_speed = 115200 -upload_port = COM5 -monitor_port = COM5 +upload_port = COM6 +monitor_port = COM6 board_build.flash_mode = dout build_flags = -Wno-unused-function diff --git a/src/IRbabyIR.cpp b/src/IRbabyIR.cpp index 207d0f8..61cfda0 100644 --- a/src/IRbabyIR.cpp +++ b/src/IRbabyIR.cpp @@ -93,12 +93,6 @@ void sendStatus(String file, t_remote_ac_status status) { UINT16 data_length = ir_decode(0, user_data, &status, FALSE); DEBUGF("data_length = %d\n", data_length); - // if (LOG_DEBUG) - // { - // for (int i = 0; i < data_length; i++) - // Serial.printf("%d ", *(user_data + i)); - // Serial.println(); - // } ir_recv->disableIRIn(); ir_send->sendRaw(user_data, data_length, 38); ir_recv->enableIRIn();