Skip to content

Commit 47776b3

Browse files
committedJun 9, 2015
Add back accidentally removed getFeed function.
1 parent a2caeb6 commit 47776b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎Adafruit_IO_Client.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ class Adafruit_IO_Client: public AIOService {
4040
_servicePort(servicePort)
4141
{}
4242

43+
Adafruit_IO_Feed getFeed(const char* name, const char* key = NULL) {
44+
return Adafruit_IO_Feed(name, key == NULL ? _defaultKey : key, this);
45+
}
46+
4347
bool begin() {} // Nothing to do, no initialization required.
4448

4549
virtual bool send(const char* feed, const char* value, const char* key,

0 commit comments

Comments
 (0)