remove type checks, prefer duck typing.

keep bounds checks for any vals passed to lin_set/log_set
This commit is contained in:
onyx-and-iris
2022-11-08 16:54:23 +00:00
parent fb8d3dee75
commit 87217f6f9c
5 changed files with 54 additions and 148 deletions

View File

@@ -36,8 +36,6 @@ class FX(IFX):
@type.setter
def type(self, val: int):
if not isinstance(val, int):
raise XAirRemoteError("type is an integer parameter")
self.setter("type", val)