Skip to content

Commit

Permalink
Fix V2 module test
Browse files Browse the repository at this point in the history
  • Loading branch information
waveform80 committed Jun 18, 2016
1 parent 05c5bc3 commit 322a130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picamera/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def __init__(
info.cameras[camera_num].max_height,
)
if PiCamera.MAX_FRAMERATE is PiCameraMaxFramerate:
if info.cameras[camera_num].camera_name.upper() == 'OV5647':
if self.exif_tags['IFD0.Model'].upper() == 'RP_OV5647':
PiCamera.MAX_FRAMERATE = 90
else:
PiCamera.MAX_FRAMERATE = 120
Expand Down

0 comments on commit 322a130

Please sign in to comment.