Fix bug with setting exposure time on load, add associated test
This commit is contained in:
parent
b90b02cf7d
commit
38f4a745c3
2 changed files with 89 additions and 6 deletions
|
|
@ -233,7 +233,7 @@ class StreamingPiCamera2(BaseCamera):
|
|||
|
||||
@exposure_time.setter
|
||||
def exposure_time(self, value: int):
|
||||
_exposure_time = value
|
||||
self._exposure_time = value
|
||||
if self.streaming:
|
||||
with self._streaming_picamera() as cam:
|
||||
# Note: This set a value 1 higher than requested as picamera2 always
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue