Skip to content

osc: Use device ID when name or label fails #532

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

Merged
merged 1 commit into from
Mar 31, 2025

Conversation

dNechita
Copy link
Contributor

PR Description

The following error message was being displayed at startup: CRITICAL **: rx_update_device_sampling_freq: assertion 'device' failed

This was due to the existence of:
/sys/bus/iio/device/iio_sysfs_trigger
which doesn't have the 'name' attribute.

PR Type

  • Bug fix (a change that fixes an issue)
  • New feature (a change that adds new functionality)
  • Breaking change (a change that affects other repos or cause CIs to fail)

PR Checklist

  • I have followed the coding standards and guidelines
  • I have conducted a self-review of my own code changes
  • I have commented new code, particulary complex or unclear areas
  • I have checked in CI output that no new warnings/errors got introduced
  • I have updated documentation accordingly (GitHub Pages, READMEs, etc)

The following error message was being displayed at startup:
CRITICAL **: rx_update_device_sampling_freq: assertion 'device' failed

This was due to the existence of:
/sys/bus/iio/device/iio_sysfs_trigger
which doesn't have the 'name' attribute.

Signed-off-by: Dan Nechita <[email protected]>
@cristina-suteu cristina-suteu merged commit f4b3f62 into main Mar 31, 2025
8 of 10 checks passed
@cristina-suteu cristina-suteu deleted the fix-err-message-dev-no-name branch March 31, 2025 14:31
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