Skip to content

Commit 2889769

Browse files
turonpull[bot]
authored andcommitted
[typo] Fix typos in some cluster field names. (#24678)
* [typo] Fix typos in some cluster field names. * [typo] Update ./scripts/tools/zap_regen_all.py
1 parent d0e6060 commit 2889769

File tree

13 files changed

+25
-25
lines changed

13 files changed

+25
-25
lines changed

examples/all-clusters-app/all-clusters-common/all-clusters-app.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ server cluster PowerSourceConfiguration = 46 {
841841

842842
server cluster PowerSource = 47 {
843843
enum BatChargeFault : ENUM8 {
844-
kUnspecfied = 0;
844+
kUnspecified = 0;
845845
kAmbientTooHot = 1;
846846
kAmbientTooCold = 2;
847847
kBatteryTooHot = 3;
@@ -881,7 +881,7 @@ server cluster PowerSource = 47 {
881881
}
882882

883883
enum PowerSourceStatus : ENUM8 {
884-
kUnspecfied = 0;
884+
kUnspecified = 0;
885885
kActive = 1;
886886
kStandby = 2;
887887
kUnavailable = 3;

examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ server cluster PowerSourceConfiguration = 46 {
735735

736736
server cluster PowerSource = 47 {
737737
enum BatChargeFault : ENUM8 {
738-
kUnspecfied = 0;
738+
kUnspecified = 0;
739739
kAmbientTooHot = 1;
740740
kAmbientTooCold = 2;
741741
kBatteryTooHot = 3;
@@ -775,7 +775,7 @@ server cluster PowerSource = 47 {
775775
}
776776

777777
enum PowerSourceStatus : ENUM8 {
778-
kUnspecfied = 0;
778+
kUnspecified = 0;
779779
kActive = 1;
780780
kStandby = 2;
781781
kUnavailable = 3;

examples/lock-app/lock-common/lock-app.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ server cluster PowerSourceConfiguration = 46 {
387387

388388
server cluster PowerSource = 47 {
389389
enum BatChargeFault : ENUM8 {
390-
kUnspecfied = 0;
390+
kUnspecified = 0;
391391
kAmbientTooHot = 1;
392392
kAmbientTooCold = 2;
393393
kBatteryTooHot = 3;
@@ -427,7 +427,7 @@ server cluster PowerSource = 47 {
427427
}
428428

429429
enum PowerSourceStatus : ENUM8 {
430-
kUnspecfied = 0;
430+
kUnspecified = 0;
431431
kActive = 1;
432432
kStandby = 2;
433433
kUnavailable = 3;

examples/placeholder/linux/apps/app1/config.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ server cluster PowerSourceConfiguration = 46 {
638638

639639
server cluster PowerSource = 47 {
640640
enum BatChargeFault : ENUM8 {
641-
kUnspecfied = 0;
641+
kUnspecified = 0;
642642
kAmbientTooHot = 1;
643643
kAmbientTooCold = 2;
644644
kBatteryTooHot = 3;
@@ -678,7 +678,7 @@ server cluster PowerSource = 47 {
678678
}
679679

680680
enum PowerSourceStatus : ENUM8 {
681-
kUnspecfied = 0;
681+
kUnspecified = 0;
682682
kActive = 1;
683683
kStandby = 2;
684684
kUnavailable = 3;

examples/placeholder/linux/apps/app2/config.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ server cluster PowerSourceConfiguration = 46 {
615615

616616
server cluster PowerSource = 47 {
617617
enum BatChargeFault : ENUM8 {
618-
kUnspecfied = 0;
618+
kUnspecified = 0;
619619
kAmbientTooHot = 1;
620620
kAmbientTooCold = 2;
621621
kBatteryTooHot = 3;
@@ -655,7 +655,7 @@ server cluster PowerSource = 47 {
655655
}
656656

657657
enum PowerSourceStatus : ENUM8 {
658-
kUnspecfied = 0;
658+
kUnspecified = 0;
659659
kActive = 1;
660660
kStandby = 2;
661661
kUnavailable = 3;

examples/window-app/common/window-app.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ server cluster UnitLocalization = 45 {
557557

558558
server cluster PowerSource = 47 {
559559
enum BatChargeFault : ENUM8 {
560-
kUnspecfied = 0;
560+
kUnspecified = 0;
561561
kAmbientTooHot = 1;
562562
kAmbientTooCold = 2;
563563
kBatteryTooHot = 3;
@@ -597,7 +597,7 @@ server cluster PowerSource = 47 {
597597
}
598598

599599
enum PowerSourceStatus : ENUM8 {
600-
kUnspecfied = 0;
600+
kUnspecified = 0;
601601
kActive = 1;
602602
kStandby = 2;
603603
kUnavailable = 3;

src/app/zap-templates/zcl/data-model/chip/power-source-cluster.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ limitations under the License.
103103

104104
<enum name="BatChargeFault" type="ENUM8">
105105
<cluster code="0x002F"/>
106-
<item name="Unspecfied" value="0x00"/>
106+
<item name="Unspecified" value="0x00"/>
107107
<item name="AmbientTooHot" value="0x01"/>
108108
<item name="AmbientTooCold" value="0x02"/>
109109
<item name="BatteryTooHot" value="0x03"/>
@@ -118,7 +118,7 @@ limitations under the License.
118118

119119
<enum name="PowerSourceStatus" type="ENUM8">
120120
<cluster code="0x002F"/>
121-
<item name="Unspecfied" value="0x00"/>
121+
<item name="Unspecified" value="0x00"/>
122122
<item name="Active" value="0x01"/>
123123
<item name="Standby" value="0x02"/>
124124
<item name="Unavailable" value="0x03"/>

src/app/zap-templates/zcl/data-model/silabs/types.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ limitations under the License.
297297
<item name="SubmittedRegistrationRequest" value="0x3"/>
298298
<item name="RegistrationRejected" value="0x4"/>
299299
<item name="Registered" value="0x5"/>
300-
<item name="RegisterationNotPossible" value="0x6"/>
300+
<item name="RegistrationNotPossible" value="0x6"/>
301301
</enum>
302302
<enum name="AnonymousDataState" type="ENUM8">
303303
<item name="NoSourceFound" value="0x0"/>

src/controller/data_model/controller-clusters.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ client cluster PowerSourceConfiguration = 46 {
936936

937937
client cluster PowerSource = 47 {
938938
enum BatChargeFault : ENUM8 {
939-
kUnspecfied = 0;
939+
kUnspecified = 0;
940940
kAmbientTooHot = 1;
941941
kAmbientTooCold = 2;
942942
kBatteryTooHot = 3;
@@ -976,7 +976,7 @@ client cluster PowerSource = 47 {
976976
}
977977

978978
enum PowerSourceStatus : ENUM8 {
979-
kUnspecfied = 0;
979+
kUnspecified = 0;
980980
kActive = 1;
981981
kStandby = 2;
982982
kUnavailable = 3;

src/controller/python/chip/clusters/Objects.py

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zzz_generated/app-common/app-common/zap-generated/cluster-enums-check.h

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zzz_generated/app-common/app-common/zap-generated/cluster-enums.h

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)