Skip to content

Commit

Permalink
fix(ci): Fixes of typos
Browse files Browse the repository at this point in the history
  • Loading branch information
P-R-O-C-H-Y authored Feb 4, 2025
1 parent a73abd7 commit 78eb461
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void loop() {
delay(30000);
}
}
// Manual lift controll simulation by pressing button
// Manual lift control simulation by pressing button
manualControl();
}
delay(500);
Expand Down Expand Up @@ -160,9 +160,9 @@ void goToLiftPercentage(uint8_t liftPercentage) {
// Our simulated cover updates instantly!
currentLift = (liftPercentage * MAX_LIFT) / 100;
currentLiftPercentage = liftPercentage;
Serial.printf("New requsted lift from Zigbee: %d (%d)\n", currentLift, liftPercentage);
Serial.printf("New requested lift from Zigbee: %d (%d)\n", currentLift, liftPercentage);

//Update the current position
// Update the current position
zbCovering.setLiftPercentage(currentLiftPercentage); //or setLiftPosition()
}

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

//Update the current position
// Update the current position
zbCovering.setTiltPercentage(currentTiltPercentage); //or setTiltPosition()
}

Expand Down
2 changes: 1 addition & 1 deletion libraries/Zigbee/src/ep/ZigbeeWindowCovering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ ZigbeeWindowCovering::ZigbeeWindowCovering(uint8_t endpoint) : ZigbeeEP(endpoint
};
}

// Confiuration methods for window covering
// Configuration methods for window covering
void ZigbeeWindowCovering::setCoveringType(ZigbeeWindowCoveringType covering_type) {
esp_zb_attribute_list_t *window_covering_cluster =
esp_zb_cluster_list_get_cluster(_cluster_list, ESP_ZB_ZCL_CLUSTER_ID_WINDOW_COVERING, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE);
Expand Down

0 comments on commit 78eb461

Please sign in to comment.