Skip to content

Commit

Permalink
temperature_measurement_app: Review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pimpalemahesh committed Dec 11, 2024
1 parent 1c6ff47 commit a99624f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ using namespace chip::app::Clusters::DiagnosticLogs;
LogProvider LogProvider::sInstance;
LogProvider::CrashLogContext LogProvider::sCrashLogContext;

#if CONFIG_ENABLE_ESP_DIAGNOSTICS_TRACE
static uint32_t sIntentSize = CONFIG_END_USER_BUFFER_SIZE;
#endif

namespace {
bool IsValidIntent(IntentEnum intent)
{
Expand Down Expand Up @@ -130,6 +134,7 @@ CHIP_ERROR LogProvider::PrepareLogContextForIntent(LogContext * context, IntentE
ChipLogError(DeviceLayer, "Failed to retrieve data: %s", chip::ErrorStr(err));
return err;
}
sIntentSize = endUserSupportSpan.size();
// Now, assign the span to the EndUserSupport object or whatever is required
context->EndUserSupport.span = endUserSupportSpan;
#else
Expand Down

0 comments on commit a99624f

Please sign in to comment.