Skip to content
Merged
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
4 changes: 2 additions & 2 deletions MicroGear.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -710,11 +710,11 @@ bool MicroGear::writeFeed(char* feedname, String data, char* apikey) {
char buff[MAXBUFFSIZE];
data.toCharArray(buff,MAXBUFFSIZE-1);

return writeFeed(feedname, data,apikey);
return writeFeed(feedname, buff, apikey);
}

bool MicroGear::writeFeed(char* feedname, String data) {
return writeFeed(feedname, data,NULL);
return writeFeed(feedname, data, NULL);
}

/*
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=ESP8266 Microgear
version=1.2.1
version=1.2.2
author=Chavee Issariyapat <[email protected]>
maintainer=Chavee Issariyapat <[email protected]>
sentence=A client library for ESP8266 to connect to NETPIE IOT Platform.
Expand Down