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

Add internal temperature offset initialization and retrieval methods #205

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

melkati
Copy link
Contributor

@melkati melkati commented Feb 27, 2024

Description

The programmer using the library must set the float variable sensors.toffset, prior to sensors.init(), to the same temperature offset the program using the library has stored as "actual offset temperature" for everything to be "on sync".

This implements methods to set and retrieve this variable. This must be called before calling sensors.init().

Related Issues

#203

Tests

Tested on CO2 Gadget without detecting any issues.

@hpsaturn hpsaturn merged commit 2882fca into kike-canaries:fix_203_toffset Feb 27, 2024
1 check passed
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