Skip to content

Generalization of set_led() - #47

Merged
gvalkov merged 1 commit into
gvalkov:masterfrom
paulo-raca:device_set
Feb 2, 2016
Merged

gvalkov merged 1 commit into
gvalkov:masterfrom
paulo-raca:device_set

Conversation

@paulo-raca

Copy link
Copy Markdown
Contributor

The device I'm working with supports SND_BELL, and I need an API for it.

We already have set_led(), but there are no API for other etypes.
Instead of adding set_snd(), etc, I suggest a generic set() method.

gvalkov added a commit that referenced this pull request Feb 2, 2016
Generalization of `set_led()`
@gvalkov
gvalkov merged commit 765b79c into gvalkov:master Feb 2, 2016
@gvalkov

gvalkov commented Feb 2, 2016

Copy link
Copy Markdown
Owner

I fully agree. I'll go ahead and also add a deprecation warning to set_led(). Thanks.

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