-
-
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.
pybricks.ev3devices.ColorSensor: Use blocking read calls
Other EV3 sensors in this module use the pb_type_device_get_data_blocking() method. I think that using pb_type_device_get_data() as it is used (only) in the color sensor class the sensor will not work for reading non-default modes. Fixes: 8a52c95 ("pbdrv/legodev: Refactor LEGO device abstraction.")
- Loading branch information
1 parent
4d457a1
commit 1bccc1a
Showing
1 changed file
with
4 additions
and
4 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