Skip to content

Commit

Permalink
Default parameter value for Valve::Valve, for convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
watsaig committed Nov 29, 2018
1 parent c06ef70 commit 0462e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/things.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Thing
class Valve : public Thing
{
public:
Valve (int pin, bool normallyOpen);
Valve (int pin, bool normallyOpen = true);
virtual ~Valve ();

virtual void setValue(uint8_t);
Expand Down

0 comments on commit 0462e58

Please sign in to comment.