Skip to content

Commit

Permalink
1.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
remicaumette committed Jun 2, 2018
1 parent 62dd327 commit ec106c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Redis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Redis::Redis(const char *addr, int port)
{
this->addr = addr;
this->port = port;
this->NoDelay = false;
this->Timeout = 100;
this->noDelay = false;
this->timeout = 100;
}

/**
Expand Down Expand Up @@ -44,8 +44,8 @@ bool Redis::begin(const char *password)
if(this->conn.connect(this->addr, this->port))
{
// the NoDelay and Timeout should be specified prior to making the connection
this->conn.setNoDelay(this->NoDelay);
this->conn.setTimeout(this->Timeout);
this->conn.setNoDelay(this->noDelay);
this->conn.setTimeout(this->timeout);
int passwordLength = strlen(password);
if (passwordLength > 0)
{
Expand Down Expand Up @@ -78,7 +78,7 @@ bool Redis::setNoDelay(bool val)
}
else
{
this->NoDelay = val;
this->noDelay = val;
return true;
}
}
Expand All @@ -97,7 +97,7 @@ bool Redis::setTimeout(long val)
}
else
{
this->Timeout = val;
this->timeout = val;
return true;
}
}
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Redis for ESP8266
version=1.0.0
version=1.1.0
author=Rémi Caumette
maintainer=Rémi Caumette
sentence=An Arduino library for Redis that works on ESP8266.
Expand Down

0 comments on commit ec106c9

Please sign in to comment.