-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bindings/python: Fix the adsd3500 getter functions
In python we can't send an int or bool or double as a reference. Therefore we need to make the getter to return the value we want to read. So send a pair made from status of the call and the read value. Client code will need to read the second item from the pair to get the value. Signed-off-by: Dan Nechita <[email protected]>
- Loading branch information
Showing
1 changed file
with
35 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters