Skip to content

Commit

Permalink
Fix missing default argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstegeman committed Jan 6, 2021
1 parent 803279a commit 751a0a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WiFi101WebThingAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ enum ReadState {
class WebThingAdapter {
public:
WebThingAdapter(String _name, uint32_t _ip, uint16_t _port = 80,
bool _disableHostValidation)
bool _disableHostValidation = false)
: name(_name), port(_port), server(_port),
disableHostValidation(_disableHostValidation), mdns(udp) {
ip = "";
Expand Down

0 comments on commit 751a0a8

Please sign in to comment.