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: #25230

Signed-off-by: Gerson Fernando Budke <[email protected]>
  • Loading branch information
nandojve authored and carlescufi committed May 12, 2020
1 parent 769c2f5 commit 4980a13
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 4980a13

Please sign in to comment.