Skip to content

Commit 78eb461

Browse files
authored
fix(ci): Fixes of typos
1 parent a73abd7 commit 78eb461

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

libraries/Zigbee/examples/Zigbee_Window_Covering/Zigbee_Window_Covering.ino

+5-5
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void loop() {
121121
delay(30000);
122122
}
123123
}
124-
// Manual lift controll simulation by pressing button
124+
// Manual lift control simulation by pressing button
125125
manualControl();
126126
}
127127
delay(500);
@@ -160,9 +160,9 @@ void goToLiftPercentage(uint8_t liftPercentage) {
160160
// Our simulated cover updates instantly!
161161
currentLift = (liftPercentage * MAX_LIFT) / 100;
162162
currentLiftPercentage = liftPercentage;
163-
Serial.printf("New requsted lift from Zigbee: %d (%d)\n", currentLift, liftPercentage);
163+
Serial.printf("New requested lift from Zigbee: %d (%d)\n", currentLift, liftPercentage);
164164

165-
//Update the current position
165+
// Update the current position
166166
zbCovering.setLiftPercentage(currentLiftPercentage); //or setLiftPosition()
167167
}
168168

@@ -173,9 +173,9 @@ void goToTiltPercentage(uint8_t tiltPercentage) {
173173
// Our simulated cover updates instantly!
174174
currentTilt = (tiltPercentage * MAX_TILT) / 100;
175175
currentTiltPercentage = tiltPercentage;
176-
Serial.printf("New requsted tilt from Zigbee: %d (%d)\n", currentTilt, tiltPercentage);
176+
Serial.printf("New requested tilt from Zigbee: %d (%d)\n", currentTilt, tiltPercentage);
177177

178-
//Update the current position
178+
// Update the current position
179179
zbCovering.setTiltPercentage(currentTiltPercentage); //or setTiltPosition()
180180
}
181181

libraries/Zigbee/src/ep/ZigbeeWindowCovering.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ ZigbeeWindowCovering::ZigbeeWindowCovering(uint8_t endpoint) : ZigbeeEP(endpoint
7171
};
7272
}
7373

74-
// Confiuration methods for window covering
74+
// Configuration methods for window covering
7575
void ZigbeeWindowCovering::setCoveringType(ZigbeeWindowCoveringType covering_type) {
7676
esp_zb_attribute_list_t *window_covering_cluster =
7777
esp_zb_cluster_list_get_cluster(_cluster_list, ESP_ZB_ZCL_CLUSTER_ID_WINDOW_COVERING, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE);

0 commit comments

Comments
 (0)