This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
Generated
+9
@@ -0,0 +1,9 @@
|
||||
def status_word(ready: Int, armed: Int) -> Int:
|
||||
return ready & armed
|
||||
|
||||
|
||||
def main():
|
||||
var READY = 1
|
||||
var ARMED = 2
|
||||
var flags = status_word(READY, ARMED)
|
||||
print("armed:", (flags & ARMED) != 0)
|
||||
Reference in new issue
Block a user