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

projects: ad7091r: Add minor updates #112

Merged
merged 1 commit into from
Dec 23, 2024
Merged

projects: ad7091r: Add minor updates #112

merged 1 commit into from
Dec 23, 2024

Conversation

SaikiranGudla
Copy link
Contributor

Update limit registers attribute setter functions. Get the latest alert recorded when both occur.
Do a read op to record if any alert is occured.

@@ -512,6 +528,7 @@ static int ad7091r_iio_attr_set(void *device,
uint8_t val = 0;
float ref_val = 0;
uint32_t write_val;
enum ad7091r8_limit limit = AD7091R8_LOW_LIMIT;
Copy link
Contributor

Choose a reason for hiding this comment

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

are we using this variable somewhere?

Update limit registers attribute setter functions.
Get the latest alert recorded when both occur.
Do a read op to record if any alert is occured.
Revert back active com port to phy com port.

Signed-off-by: SGudla <[email protected]>
@SaikiranGudla SaikiranGudla merged commit 1afc6ba into main Dec 23, 2024
28 checks passed
@SaikiranGudla SaikiranGudla deleted the update-ad7091r branch December 23, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants