Skip to content

Commit

Permalink
Fix codacy warnings:
Browse files Browse the repository at this point in the history
- fix typo, make constructor explicit
  • Loading branch information
luebbe committed Jun 3, 2020
1 parent c6a60c4 commit 7bfcdb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Homie node collection",
"version": "1.2.0,
"version": "1.2.0",
"keywords": "iot, home, automation, Arduino, esp8266, homie, sensor, relay, switch",
"description": "Collection of Node implementations for the Homie-ESP8266 library. Versions 1.0.x implement the Homie 2.0 convention. Versions 1.1.x and newer implement the Homie 3.0 convention.",
"homepage": "https://github.com/luebbe/homie-node-collection",
Expand Down
2 changes: 1 addition & 1 deletion src/AdcNode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class AdcNode : public HomieNode
virtual void loop() override;

public:
AdcNode(const char *name, const int sendInterval = SEND_INTERVAL_MILLISECONDS);
explicit AdcNode(const char *name, const int sendInterval = SEND_INTERVAL_MILLISECONDS);

float getBatteryLevel() const { return _batteryLevel; }
float getVoltage() const { return _voltage; }
Expand Down

0 comments on commit 7bfcdb6

Please sign in to comment.