Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix comparison between signed and unsigned integer warning #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ThingSpeak.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Copyright 2017, The MathWorks, Inc.

See the accompaning licence file for licensing information.
See the accompanying licence file for licensing information.
*/

#include "ThingSpeak.h"
Expand Down
8 changes: 4 additions & 4 deletions src/ThingSpeak.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Copyright 2020, The MathWorks, Inc.

See the accompaning licence file for licensing information.
See the accompanying licence file for licensing information.
*/

// #define PRINT_DEBUG_MESSAGES
Expand Down Expand Up @@ -446,8 +446,8 @@

Notes:
To record a status message on a write, call setStatus() then call writeFields().
Use status to provide additonal details when writing a channel update.
Additonally, status can be used by the ThingTweet App to send a message to Twitter.
Use status to provide additional details when writing a channel update.
Additionally, status can be used by the ThingTweet App to send a message to Twitter.
*/
int setStatus(String status)
{
Expand Down Expand Up @@ -1597,7 +1597,7 @@
// make sure all of the HTTP request is pushed out of the buffer before looking for a response
this->client->flush();

long timeoutTime = millis() + TIMEOUT_MS_SERVERRESPONSE;
unsigned long timeoutTime = millis() + TIMEOUT_MS_SERVERRESPONSE;

while(this->client-> available() < 17){
delay(2);
Expand Down