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

tlv493d: Auto-reset TLV493D on error #52

Merged
merged 4 commits into from
Oct 1, 2022
Merged

Conversation

bezineb5
Copy link
Contributor

When an error occurs, it is necessary to reset the sensor as per the documentation. This will send a recovery command followed by the standard start procedure.

tlv493d/tlv493d.go Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Oct 1, 2022

Codecov Report

Merging #52 (283ca54) into main (600c8cc) will increase coverage by 0.2%.
The diff coverage is 20.0%.

@@           Coverage Diff           @@
##            main     #52     +/-   ##
=======================================
+ Coverage   64.4%   64.6%   +0.2%     
=======================================
  Files         56      60      +4     
  Lines       6824    7066    +242     
=======================================
+ Hits        4397    4564    +167     
- Misses      2283    2347     +64     
- Partials     144     155     +11     
Impacted Files Coverage Δ
tlv493d/tlv493d.go 59.0% <20.0%> (-1.4%) ⬇️
tca95xx/variants.go 63.6% <0.0%> (ø)
tca95xx/registers.go 87.2% <0.0%> (ø)
tca95xx/tca95xx.go 78.2% <0.0%> (ø)
tca95xx/pins.go 60.4% <0.0%> (ø)
videosink/handler.go 86.4% <0.0%> (+0.6%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@maruel
Copy link
Member

maruel commented Oct 1, 2022

Thanks!

@maruel maruel merged commit 43cd795 into periph:main Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants