mgmt: hawkbit: Fix condition in hawkbit_probe
Fix send_request condition in hawkbit_probe function Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
parent
337769c7db
commit
3fd545b05b
1 changed files with 1 additions and 1 deletions
|
|
@ -1147,7 +1147,7 @@ enum hawkbit_response hawkbit_probe(void)
|
|||
|
||||
flash_img_init(&hb_context.flash_ctx);
|
||||
|
||||
if (send_request(HTTP_GET, HAWKBIT_DOWNLOAD, HAWKBIT_STATUS_FINISHED_NONE,
|
||||
if (!send_request(HTTP_GET, HAWKBIT_DOWNLOAD, HAWKBIT_STATUS_FINISHED_NONE,
|
||||
HAWKBIT_STATUS_EXEC_NONE)) {
|
||||
LOG_ERR("Send request failed (%s)", "HAWKBIT_DOWNLOAD");
|
||||
hb_context.code_status = HAWKBIT_NETWORKING_ERROR;
|
||||
|
|
|
|||
Loading…
Reference in a new issue