Skip to content

Commit

Permalink
remove new to_frame_rate method from FrameInterval
Browse files Browse the repository at this point in the history
  • Loading branch information
matanster committed Feb 15, 2024
1 parent d70f57e commit bdaf473
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pyrav4l2/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ def __float__(self) -> float:
else:
return 0.0

def to_frame_rate(self) -> float:
if self.numerator != 0:
return self.denominator / self.numerator
else:
return 0.0


class Device:
"""Class representing a v4l2 device"""
Expand Down

0 comments on commit bdaf473

Please sign in to comment.