From 94bd90b98513eb21d4ae6a25c2eecbdb504d5ac3 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Fri, 17 Mar 2023 17:33:49 +0000 Subject: [PATCH] Restyled by clang-format --- src/app/app-platform/ContentAppPlatform.cpp | 13 ++++++------- src/app/app-platform/ContentAppPlatform.h | 6 +++--- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/app/app-platform/ContentAppPlatform.cpp b/src/app/app-platform/ContentAppPlatform.cpp index 24ada7e0439890..d162ec4bbab7ad 100644 --- a/src/app/app-platform/ContentAppPlatform.cpp +++ b/src/app/app-platform/ContentAppPlatform.cpp @@ -93,19 +93,18 @@ EmberAfStatus emberAfExternalAttributeWriteCallback(EndpointId endpoint, Cluster namespace chip { namespace AppPlatform { -EmberAfStatus __attribute__((weak)) -AppPlatformExternalAttributeReadCallback(EndpointId endpoint, ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, - uint16_t maxReadLength) +EmberAfStatus __attribute__((weak)) AppPlatformExternalAttributeReadCallback(EndpointId endpoint, ClusterId clusterId, + const EmberAfAttributeMetadata * attributeMetadata, + uint8_t * buffer, uint16_t maxReadLength) { - return(EMBER_ZCL_STATUS_FAILURE); + return (EMBER_ZCL_STATUS_FAILURE); } EmberAfStatus __attribute__((weak)) AppPlatformExternalAttributeWriteCallback(EndpointId endpoint, ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer) + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer) { - return(EMBER_ZCL_STATUS_FAILURE); + return (EMBER_ZCL_STATUS_FAILURE); } EndpointId ContentAppPlatform::AddContentApp(ContentApp * app, EmberAfEndpointType * ep, diff --git a/src/app/app-platform/ContentAppPlatform.h b/src/app/app-platform/ContentAppPlatform.h index 45f5d78e5aab8e..8ab9efab8250c6 100644 --- a/src/app/app-platform/ContentAppPlatform.h +++ b/src/app/app-platform/ContentAppPlatform.h @@ -41,13 +41,13 @@ namespace AppPlatform { // The AppPlatform overrides emberAfExternalAttributeReadCallback to handle external attribute reads for ContentApps. // This callback can be used to handle external attribute reads for attributes belonging to static endpoints. EmberAfStatus AppPlatformExternalAttributeReadCallback(EndpointId endpoint, ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, - uint16_t maxReadLength); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer, + uint16_t maxReadLength); // The AppPlatform overrides emberAfExternalAttributeWriteCallback to handle external attribute writes for ContentApps. // This callback can be used to handle external attribute writes for attributes belonging to static endpoints. EmberAfStatus AppPlatformExternalAttributeWriteCallback(EndpointId endpoint, ClusterId clusterId, - const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); + const EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer); constexpr EndpointId kTargetBindingClusterEndpointId = 0; constexpr EndpointId kLocalVideoPlayerEndpointId = 1;