Skip to content

Conversation

@Finomnis
Copy link
Contributor

Fixes #99453.

It seems the new microvolt/microamp rework (#95588) simply forgot to implement zero current voltage offsets.

@zephyrbot zephyrbot added area: ADC Analog-to-Digital Converter (ADC) size: XS A PR changing only a single line of code labels Nov 15, 2025
@zephyrbot zephyrbot requested a review from anangl November 15, 2025 22:50
It seems the new microvolt/microamp rework (zephyrproject-rtos#95588) simply forgot to implement zero current voltage offsets. Signed-off-by: Martin Stumpf <finomnis@gmail.com>
@Finomnis Finomnis force-pushed the fix_current_sens_zero_offset branch from 845a9e9 to d3c6b1a Compare November 15, 2025 23:27
@Finomnis
Copy link
Contributor Author

Finomnis commented Nov 16, 2025

@JordanYates how did multiple reviewers miss that? Things like this make me kind of uneasy about the code quality of Zephyr...

I mean, to visually compare the new implementation with the previous implementation is the least a reviewer should do, and imo it is quite hard to miss...

@JordanYates
Copy link
Contributor

@JordanYates how did multiple reviewers miss that?

Presumably because the problem was not with lines of code removed from the PR, the difference can only be caught it you compare line by line the swapped out function. For my part, the logic was written before the offset binding PR was opened.

Things like this make me kind of uneasy about the code quality of Zephyr...

A niche feature of a niche driver broke on one release, its not ideal but it happens. If you can find an embedded framework that supports as much as Zephyr does with better testing coverage, I'm sure we'd all like to hear about it.

I mean, to visually compare the new implementation with the previous implementation is the least a reviewer should do, and imo it is quite hard to miss...

People have limited time, I absolutely do not blame any reviewer for missing this. The great part about Zephyr is that anyone can contribute. Since the problem was obvious to you, it would be great if you could help us proactively review PRs.

@Finomnis
Copy link
Contributor Author

Finomnis commented Nov 16, 2025

@JordanYates Fair.

I should probably switch to the release candidates earlier to raise bugs before the official release.

It's just frustrating because this already happened to me in v4.2 where we switch to it with our project and immediately stuff breaks. Last time was #93519, again because somebody "swore they already covered that cornercase that but it must have been lost during merges", which again, makes me a little uneasy about the project reliability ... It's been a while since I've used an actual release and not some commit hash in a vx.x-branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ADC Analog-to-Digital Converter (ADC) size: XS A PR changing only a single line of code

3 participants