Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6d8de5f

Browse files
committedApr 11, 2019
Removing deprecated function 'poll'
1 parent 0fb6c6f commit 6d8de5f

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed
 

‎src/ArduinoIoTCloud.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,6 @@ bool ArduinoIoTCloudClass::disconnect() {
216216
return true;
217217
}
218218

219-
void ArduinoIoTCloudClass::poll() {
220-
update();
221-
}
222-
223219
void ArduinoIoTCloudClass::update(CallbackFunc onSyncCompleteCallback) {
224220
// If user call update() without parameters use the default ones
225221
update(MAX_RETRIES, RECONNECTION_TIMEOUT, onSyncCompleteCallback);

‎src/ArduinoIoTCloud.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ class ArduinoIoTCloudClass {
7878
int connect();
7979
bool disconnect();
8080

81-
void poll() __attribute__((deprecated)); /* Attention: Function is deprecated - use 'update' instead */
8281
void update(CallbackFunc onSyncCompleteCallback = NULL);
8382

8483
// defined for users who want to specify max reconnections reties and timeout between them

0 commit comments

Comments
 (0)
Please sign in to comment.