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

Fix Impulse Generator Menu #501

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Fix Impulse Generator Menu #501

merged 1 commit into from
Jul 31, 2024

Commits on Jul 29, 2024

  1. oscplot.c: fix impulse generator

    iio_device_get_trigger will return 0 on success, but if there is no device
    assigned to the trigger, the trigger pointer will be NULL.
    since the impulse generator menu sets the trigger, the condition will not
    be satisfied. this resulted in the impulse generator menu being grayed out.
    Now, we will only check that the return value is 0. The renaming of the
    bool variable is to avoid confusion.
    
    Signed-off-by: Cristina Suteu <cristina.suteu@analog.com>
    cristina-suteu committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    3260ace View commit details
    Browse the repository at this point in the history