mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
m1n1.fw.isp: Fix message validity check
Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
parent
6aca0608d8
commit
204f6b8189
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class ISPChannelMessage:
|
|||
return s
|
||||
|
||||
def valid(self): # rough check used for dumps
|
||||
return (self.arg0 != 0x1) and (self.arg0 != 0x3) and (not (all(arg == 0x0 for arg in self.args)))
|
||||
return not (self.arg0 & 0x1)
|
||||
|
||||
class ISPChannel:
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue