lib: updatehub: Update to new timeout api
Update to new timeout api. Without this change UpdateHub don't build anymore. Fixes: #25230 Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
This commit is contained in:
parent
769c2f5181
commit
4980a13fc4
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue