Skip to content

Commit

Permalink
lib: updatehub: Update to new timeout api
Browse files Browse the repository at this point in the history
Update to new timeout api. Without this change UpdateHub don't build
anymore.

Fixes: zephyrproject-rtos#25230

Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
  • Loading branch information
nandojve authored and hakehuang committed Jun 20, 2020
1 parent 811048d commit 00a93b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/updatehub/updatehub.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ LOG_MODULE_REGISTER(updatehub);
#include <net/tls_credentials.h>
#endif

#define NETWORK_TIMEOUT K_SECONDS(2)
#define NETWORK_TIMEOUT (2 * MSEC_PER_SEC)
#define UPDATEHUB_POLL_INTERVAL K_MINUTES(CONFIG_UPDATEHUB_POLL_INTERVAL)
#define MAX_PATH_SIZE 255
/* MAX_PAYLOAD_SIZE must reflect size COAP_BLOCK_x option */
Expand Down

0 comments on commit 00a93b7

Please sign in to comment.