Skip to content

Conversation

@aleksandrov
Copy link

  • PowerLimit()
  • PowerLimitConstraints()
  • SetPowerLimit()

Copy link
Member

@rohitagarwal003 rohitagarwal003 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @aleksandrov.

Sorry for the late review. Just got around to taking a look at this.

}

// Set new power limit of this device.
func (d Device) SetPowerLimit(pl uint) error {
Copy link
Member

Choose a reason for hiding this comment

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

Can you remove this method? I would like to keep this library to only read things and not change anything.

Copy link
Author

Choose a reason for hiding this comment

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

@mindprince Sorry for even late comments :-) Why you do not want to have altering state functionality?

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