-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drv/ioport/ioport_lpf2: store gpio value in dcm_data_t
This changes from using a local variable for storing the gpio value to using a field in dcm_data_t. Since poll_dcm() is a proto thread, this protects against loosing the value across PT_YIELD. Although this is not a problem now, it will future-proof the code against changes (like the one suggested in a TODO comment). movehub fw size +0
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 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