fix(ci): Fixes of typos · espressif/arduino-esp32@78eb461 (original) (raw)

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -121,7 +121,7 @@ void loop() {
121 121 delay(30000);
122 122 }
123 123 }
124 -// Manual lift controll simulation by pressing button
124 +// Manual lift control simulation by pressing button
125 125 manualControl();
126 126 }
127 127 delay(500);
@@ -160,9 +160,9 @@ void goToLiftPercentage(uint8_t liftPercentage) {
160 160 // Our simulated cover updates instantly!
161 161 currentLift = (liftPercentage * MAX_LIFT) / 100;
162 162 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);
164 164
165 -//Update the current position
165 +// Update the current position
166 166 zbCovering.setLiftPercentage(currentLiftPercentage); //or setLiftPosition()
167 167 }
168 168
@@ -173,9 +173,9 @@ void goToTiltPercentage(uint8_t tiltPercentage) {
173 173 // Our simulated cover updates instantly!
174 174 currentTilt = (tiltPercentage * MAX_TILT) / 100;
175 175 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);
177 177
178 -//Update the current position
178 +// Update the current position
179 179 zbCovering.setTiltPercentage(currentTiltPercentage); //or setTiltPosition()
180 180 }
181 181
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ ZigbeeWindowCovering::ZigbeeWindowCovering(uint8_t endpoint) : ZigbeeEP(endpoint
71 71 };
72 72 }
73 73
74 -// Confiuration methods for window covering
74 +// Configuration methods for window covering
75 75 void ZigbeeWindowCovering::setCoveringType(ZigbeeWindowCoveringType covering_type) {
76 76 esp_zb_attribute_list_t *window_covering_cluster =
77 77 esp_zb_cluster_list_get_cluster(_cluster_list, ESP_ZB_ZCL_CLUSTER_ID_WINDOW_COVERING, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE);