Skip to content
Snippets Groups Projects
Commit 353d904f authored by Stefano Di Frischia's avatar Stefano Di Frischia
Browse files

L2SS-630: refactor apsct fix

parent 6c085cab
No related branches found
No related tags found
1 merge request!296Resolve L2SS-630 "Refactor functions graded c"
...@@ -96,8 +96,7 @@ class APSCT(opcua_device): ...@@ -96,8 +96,7 @@ class APSCT(opcua_device):
self.read_attribute("APSCT_PLL_200MHz_locked_R") and self.read_attribute("APSCT_PLL_200MHz_error_R"), self.read_attribute("APSCT_PLL_200MHz_locked_R") and self.read_attribute("APSCT_PLL_200MHz_error_R"),
self.read_attribute("APSCT_PLL_160MHz_locked_R") and self.read_attribute("APSCT_PLL_160MHz_error_R")] self.read_attribute("APSCT_PLL_160MHz_locked_R") and self.read_attribute("APSCT_PLL_160MHz_error_R")]
for e in errors: for e in errors:
if e is True: if e is True: return True
return True
return False return False
APSCT_TEMP_error_R = attribute(dtype=bool) APSCT_TEMP_error_R = attribute(dtype=bool)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment