Skip to content

Commit

Permalink
[typo] Fix typos in some cluster field names. (#24678)
Browse files Browse the repository at this point in the history
* [typo] Fix typos in some cluster field names.

* [typo] Update ./scripts/tools/zap_regen_all.py
  • Loading branch information
turon authored and pull[bot] committed Feb 27, 2024
1 parent 7cc8c20 commit 1102412
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ server cluster PowerSourceConfiguration = 46 {

server cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
Expand Down Expand Up @@ -881,7 +881,7 @@ server cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ server cluster PowerSourceConfiguration = 46 {

server cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
Expand Down Expand Up @@ -775,7 +775,7 @@ server cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
Expand Down
4 changes: 2 additions & 2 deletions examples/lock-app/lock-common/lock-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ server cluster PowerSourceConfiguration = 46 {

server cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
Expand Down Expand Up @@ -427,7 +427,7 @@ server cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
Expand Down
4 changes: 2 additions & 2 deletions examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ server cluster PowerSourceConfiguration = 46 {

server cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
Expand Down Expand Up @@ -678,7 +678,7 @@ server cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
Expand Down
4 changes: 2 additions & 2 deletions examples/placeholder/linux/apps/app2/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ server cluster PowerSourceConfiguration = 46 {

server cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
Expand Down Expand Up @@ -655,7 +655,7 @@ server cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
Expand Down
4 changes: 2 additions & 2 deletions examples/window-app/common/window-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ server cluster UnitLocalization = 45 {

server cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
Expand Down Expand Up @@ -597,7 +597,7 @@ server cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ limitations under the License.

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

<enum name="PowerSourceStatus" type="ENUM8">
<cluster code="0x002F"/>
<item name="Unspecfied" value="0x00"/>
<item name="Unspecified" value="0x00"/>
<item name="Active" value="0x01"/>
<item name="Standby" value="0x02"/>
<item name="Unavailable" value="0x03"/>
Expand Down
2 changes: 1 addition & 1 deletion src/app/zap-templates/zcl/data-model/silabs/types.xml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ limitations under the License.
<item name="SubmittedRegistrationRequest" value="0x3"/>
<item name="RegistrationRejected" value="0x4"/>
<item name="Registered" value="0x5"/>
<item name="RegisterationNotPossible" value="0x6"/>
<item name="RegistrationNotPossible" value="0x6"/>
</enum>
<enum name="AnonymousDataState" type="ENUM8">
<item name="NoSourceFound" value="0x0"/>
Expand Down
4 changes: 2 additions & 2 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ client cluster PowerSourceConfiguration = 46 {

client cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
Expand Down Expand Up @@ -976,7 +976,7 @@ client cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
Expand Down
4 changes: 2 additions & 2 deletions src/controller/python/chip/clusters/Objects.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1102412

Please sign in to comment.