Skip to content

Commit

Permalink
Fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
SiboVG committed Aug 1, 2024
1 parent b0fb794 commit c0cbe37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TMC_2209/_TMC_2209_uart.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ def read_int(self, register, tries=10, bypass_serial=False):
Args:
register (int): HEX, which register to read
tries (int): how many tries, before error is raised (Default value = 10)
bypass_serial (bool): if True, the serial connection is not checked (Default value = False)
bypass_serial (bool): if True, the serial connection is not checked
(Default value = False)
"""
if not bypass_serial and self.ser is None:
self.tmc_logger.log("Cannot read int, serial is not initialized", Loglevel.ERROR)
Expand Down

0 comments on commit c0cbe37

Please sign in to comment.