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

IOGroup controls that return NAN cause issues during restore #3413

Open
bgeltz opened this issue Apr 24, 2024 · 0 comments
Open

IOGroup controls that return NAN cause issues during restore #3413

bgeltz opened this issue Apr 24, 2024 · 0 comments

Comments

@bgeltz
Copy link
Contributor

bgeltz commented Apr 24, 2024

Describe the bug
I tried to write an IOGroup that returns NAN for some controls and I expected no issues during tear down instead an exception was thrown out of PlatformIO.adjust because of the NAN.

GEOPM version
333929d

Expected behavior
If a NAN was saved, it should be ignored during restore.
Or make it so NAN's are illegal as return values from read_signal().

Actual behavior
An exception was thrown during restore.

Error messages produced
TBD

Additional context
Related to these workarounds that went into the IOGroup tutorial:
#3410

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

No branches or pull requests

1 participant