some cleanup for upstream

This commit is contained in:
Arik Yavilevich 2020-10-05 00:41:51 +03:00
parent 030e68e202
commit 3010db8ce4
3 changed files with 1 additions and 4 deletions

View File

@ -20,7 +20,7 @@ default_envs =
; tasmota-sensors ; tasmota-sensors
; tasmota-display ; tasmota-display
; tasmota-zbbridge ; tasmota-zbbridge
tasmota-ir ; tasmota-ir
; tasmota-BG ; tasmota-BG
; tasmota-BR ; tasmota-BR
; tasmota-CN ; tasmota-CN

View File

@ -14,8 +14,6 @@ upload_port = ${common.upload_port}
upload_resetmethod = ${common.upload_resetmethod} upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed} upload_speed = ${common.upload_speed}
extra_scripts = ${common.extra_scripts} extra_scripts = ${common.extra_scripts}
lib_deps =
https://github.com/crankyoldgit/IRremoteESP8266#Issue1283
[env:tasmota] [env:tasmota]

View File

@ -432,7 +432,6 @@ uint32_t IrRemoteCmndIrHvacJson(void)
if (val = root[PSTR(D_JSON_IRHVAC_SWINGV)]) { state.swingv = IRac::strToSwingV(val.getStr()); } if (val = root[PSTR(D_JSON_IRHVAC_SWINGV)]) { state.swingv = IRac::strToSwingV(val.getStr()); }
if (val = root[PSTR(D_JSON_IRHVAC_SWINGH)]) { state.swingh = IRac::strToSwingH(val.getStr()); } if (val = root[PSTR(D_JSON_IRHVAC_SWINGH)]) { state.swingh = IRac::strToSwingH(val.getStr()); }
state.degrees = root.getFloat(PSTR(D_JSON_IRHVAC_TEMP), state.degrees); state.degrees = root.getFloat(PSTR(D_JSON_IRHVAC_TEMP), state.degrees);
// AddLog_P2(LOG_LEVEL_DEBUG, PSTR("model %d, mode %d, fanspeed %d, swingv %d, swingh %d"), // AddLog_P2(LOG_LEVEL_DEBUG, PSTR("model %d, mode %d, fanspeed %d, swingv %d, swingh %d"),
// state.model, state.mode, state.fanspeed, state.swingv, state.swingh); // state.model, state.mode, state.fanspeed, state.swingv, state.swingh);