Skip to content

Commit

Permalink
Codacy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
omersiar committed Apr 2, 2018
1 parent b0c46a3 commit 13f88a4
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 138 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log
All notable changes to this project will be documented in this file.

## [Unreleased]
#### Fixed
- [webui] minor fixes suggested by Codacy

## [0.7.2] - 2018-04-02
#### Fixed
- [webui] MQTT is enabled by default.
Expand Down
4 changes: 4 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,10 @@ void ICACHE_FLASH_ATTR rfidloop() {
return;
}
}
else {
delay(50);
return;
}
if (mqttenabled == 1) {
const char * topic = mqttTopic;
mqttClient.publish(topic, 0, true, uid.c_str());
Expand Down
Loading

0 comments on commit 13f88a4

Please sign in to comment.