Skip to content

Commit

Permalink
Add clean constructor for DI
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleBuster committed Jun 17, 2019
1 parent dbc93eb commit cada44b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OneWire.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class OneWire
#endif

public:
OneWire() { }
OneWire(uint8_t pin) { begin(pin); }
void begin(uint8_t pin);

Expand Down

0 comments on commit cada44b

Please sign in to comment.