Skip to content

Commit

Permalink
Added read=False to set_current_limit meathod
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce Bixler committed Nov 21, 2023
1 parent 0735a59 commit a7f009f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socs/agents/hwp_pmx/drivers/PMX_ethernet.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def ign_external_voltage(self):

def set_current_limit(self, curr_lim):
""" Set the PMX current limit """
self.send_message(b'curr:prot %a\n' % curr_lim)
self.send_message(b'curr:prot %a\n' % curr_lim, read=False)
self.wait()
val = float(self.send_message(b'curr:prot?\n'))
msg = "Current Limit: {:.3f} A".format(val)
Expand Down

0 comments on commit a7f009f

Please sign in to comment.