Skip to content

Commit

Permalink
lda: remove excessive verbosity
Browse files Browse the repository at this point in the history
sbourdeauducq committed Nov 25, 2014
1 parent 57e25c7 commit dc27c2e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions artiq/devices/lda/lda-controller.py
Original file line number Diff line number Diff line change
@@ -137,8 +137,6 @@ def get_attenuation(self):

def set_attenuation(self, attenuation):
if self.product != "sim":
print("[{}] setting attenuation to {}".format(self.product,
attenuation))
self.set(0x8d, bytes(chr(int(round(attenuation*4))), 'ascii'))
else:
attenuation = round(attenuation*4)/4.

0 comments on commit dc27c2e

Please sign in to comment.