Skip to content

Commit 867a6ac

Browse files
committed
Replace magic RP2040 OTA timeout values with sensibly named constants.
1 parent b13a560 commit 867a6ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/AIoTC_Config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,7 @@
145145
#define AIOT_CONFIG_TIMEOUT_FOR_LASTVALUES_SYNC_ms (30000UL)
146146
#define AIOT_CONFIG_LASTVALUES_SYNC_MAX_RETRY_CNT (10UL)
147147

148+
#define AIOT_CONFIG_RP2040_OTA_HTTP_HEADER_RECEIVE_TIMEOUT_ms (10000UL)
149+
#define AIOT_CONFIG_RP2040_OTA_HTTP_DATA_RECEIVE_TIMEOUT_ms (60000UL)
150+
148151
#endif /* ARDUINO_AIOTC_CONFIG_H_ */

0 commit comments

Comments
 (0)