We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 428cee4 commit 8152c4bCopy full SHA for 8152c4b
src/ArduinoIoTCloudTCP.h
@@ -105,9 +105,9 @@ class ArduinoIoTCloudTCP: public ArduinoIoTCloudClass
105
/* Slower but more reliable in some corner cases */
106
void setOTAChunkMode(bool enable = true) {
107
if(enable) {
108
- _ota.enableOtaPolicy(OTADefaultCloudProcessInterface::ChunkDownload);
+ _ota.enableOtaPolicy(OTACloudProcessInterface::ChunkDownload);
109
} else {
110
- _ota.disableOtaPolicy(OTADefaultCloudProcessInterface::ChunkDownload);
+ _ota.disableOtaPolicy(OTACloudProcessInterface::ChunkDownload);
111
}
112
113
#endif
0 commit comments