From 1e3a94bb89d7e8f6fc30ab720a561b0c83cfb35c Mon Sep 17 00:00:00 2001 From: Nivi Sarkar <55898241+nivi-apple@users.noreply.github.com> Date: Fri, 29 Sep 2023 13:13:03 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Boris Zbarsky --- src/darwin/Framework/CHIP/MTRDevice.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/darwin/Framework/CHIP/MTRDevice.h b/src/darwin/Framework/CHIP/MTRDevice.h index b03246252f2c52..2b475957c92d77 100644 --- a/src/darwin/Framework/CHIP/MTRDevice.h +++ b/src/darwin/Framework/CHIP/MTRDevice.h @@ -32,11 +32,11 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) { /** * This bitmask is used to specify the type of logs requested from this device. * - * The logs types are : End User Support, Network Diag and Crash logs. + * The logs types are : End User Support, Network Diagnostics and Crash logs. */ -typedef NS_OPTIONS(NSUInteger, MTRDiagnosticLogTypes) { +typedef NS_OPTIONS(NSUInteger, MTRDiagnosticLogType) { MTRDiagnosticLogTypeEndUserSupport = 0, // End user support logs are requested - MTRDiagnosticLogTypeNetworkDiag = 1 << 0, // Network Diag logs are requested + MTRDiagnosticLogTypeNetworkDiagnostics = 1 << 1, // Network Diagnostics logs are requested MTRDiagnosticLogTypeCrash = 1 << 1, // Crash logs are requested MTRDiagnosticLogTypesAll = // All the above log types are requested MTRDiagnosticLogTypeEndUserSupport | MTRDiagnosticLogTypeNetworkDiag | MTRDiagnosticLogTypeCrash,