Skip to content

Commit

Permalink
Delete call to removed function.
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin-crossman committed Feb 24, 2022
1 parent c21f690 commit 5446389
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions examples/ota-requestor-app/p6/src/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -449,15 +449,8 @@ void AppTask::DispatchEvent(AppEvent * aEvent)

void OnTriggerUpdateTimerHandler(Layer * systemLayer, void * appState)
{
NodeId nodeId = 1;
FabricIndex fabIndex = 1;
EndpointId endpointId = 0;
P6_LOG("Triggering immediate OTA update query with hardcoded parameters:");
P6_LOG("Provider NodeId: %lu", nodeId);
P6_LOG("Provider FabricIndex: %lu", fabIndex);
P6_LOG("Provider EndpointId: %lu", endpointId);
P6_LOG("Triggering immediate OTA update query");

OTARequestor * req = static_cast<OTARequestor *>(GetRequestorInstance());
req->TestModeSetProviderParameters(nodeId, fabIndex, endpointId);
req->TriggerImmediateQuery();
}

0 comments on commit 5446389

Please sign in to comment.