Skip to content

Commit

Permalink
Fixed app_task failing if SK_NETWORKING is set, fixes github action b…
Browse files Browse the repository at this point in the history
…uild.
  • Loading branch information
carlhampuswall committed Jan 17, 2024
1 parent b973b89 commit a9697f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions firmware/src/app_task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,12 @@ void AppTask::run()
if (xQueueReceive(app_sync_queue_, &apps_, 0) == pdTRUE)
{
ESP_LOGD("app_task", "App sync requested!");
#if SK_NETWORKING // Should this be here??
apps->reload(networking_task_->getApps());

// SHOULD BE RELEASE LATER WHEN RELOAD IS DONE
networking_task_->unlock();
#endif

// cJSON_Delete(apps_);
}
Expand Down

0 comments on commit a9697f3

Please sign in to comment.