Skip to content

Conversation

@one-for-all
Copy link

I think this is the code you meant to write.

@one-for-all one-for-all changed the title Correct code Correct code in the servo example Nov 4, 2025
.configure(channel::config::Config {
timer: &hstimer0,
duty_pct: 10,
duty_pct: 100,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why edit this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think by setting it to 100, we are saying that we want to control all 100% of the duty cycle.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think by setting it to 100, we are saying that we want to control all 100% of the duty cycle.

It seems to me that this only sets the initial value of the duty cycle.

The issue has already been fixed here: #17

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants