Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for supported events first, send SND_BELL as fallback #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Mar 5, 2020

  1. beep: check for supported events before sending SND_TONE

    The device might not support SND_TONE events, so check it and print an
    error if this event type is not supported.
    
    Signed-off-by: Bastian Krause <[email protected]>
    Bastian-Krause committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    e3c028a View commit details
    Browse the repository at this point in the history
  2. beep: support SND_BELL as fallback

    The gpio-beeper driver does not support SND_TONE, but SND_BELL. So send
    that instead if SND_TONE is not supported.
    
    Signed-off-by: Bastian Krause <[email protected]>
    Bastian-Krause committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    a75d991 View commit details
    Browse the repository at this point in the history