Skip to content

Commit

Permalink
No Debug No Secure
Browse files Browse the repository at this point in the history
  • Loading branch information
joinke committed Feb 7, 2023
1 parent 7c517ca commit d6ead5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ board = mhetesp32devkit
board_build.filesystem = littlefs
framework = arduino
monitor_speed = 115200
build_flags = -DCORE_DEBUG_LEVEL=5
;build_flags = -DCORE_DEBUG_LEVEL=5
lib_deps =
ArduinoJson
esp32fota
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ void setup()
sensorDhtData(&temperature,&humidity);
sensorLevel(&level);
delay(20);
sendSecureDataTcp();
//sendSecureDataTcp();
if (isnan(temperature)) { temperature = 999; };
if (isnan(humidity)) { humidity = 0;};
sendDataTcp(temperature,humidity,level);
Expand Down

0 comments on commit d6ead5a

Please sign in to comment.