Skip to content

Commit 204f6b8

Browse files
hoshinolinamarcan
authored andcommitted
m1n1.fw.isp: Fix message validity check
Signed-off-by: Asahi Lina <[email protected]>
1 parent 6aca060 commit 204f6b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

proxyclient/m1n1/fw/isp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def __str__(self, max_count=3):
106106
return s
107107

108108
def valid(self): # rough check used for dumps
109-
return (self.arg0 != 0x1) and (self.arg0 != 0x3) and (not (all(arg == 0x0 for arg in self.args)))
109+
return not (self.arg0 & 0x1)
110110

111111
class ISPChannel:
112112
"""

0 commit comments

Comments
 (0)