forked from M-Labs/artiq
examples/dds_test: use integer as boolean (now supported by compiler)
This commit is contained in:
parent
76cef042a5
commit
4de670b370
@ -9,7 +9,7 @@ class DDSTest(AutoContext):
|
||||
def run(self):
|
||||
i = 0
|
||||
while i < 10000:
|
||||
if i & 0x200 != 0:
|
||||
if i & 0x200:
|
||||
self.led.set(1)
|
||||
else:
|
||||
self.led.set(0)
|
||||
|
Loading…
Reference in New Issue
Block a user