Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix: update from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 10, 2023
1 parent 48a77c5 commit a063335
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cloud/lwm2m_integration/lwm2m_integration.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@ static int lwm2m_firmware_event_cb(struct lwm2m_fota_event *event)
event->failure.update_failure);
cloud_wrap_evt.type = CLOUD_WRAP_EVT_FOTA_ERROR;
break;
case LWM2M_FOTA_UPDATE_MODEM_RECONNECT_REQ:
/* FOTA requests modem re-initialization and client re-connection */
/* Return -1 to cause normal system reboot */
return -1;
}

cloud_wrapper_notify_event(&cloud_wrap_evt);
Expand Down

0 comments on commit a063335

Please sign in to comment.