Fix pylint diagnostics
This commit is contained in:
parent
e8dd669c64
commit
096c690f07
4 changed files with 10 additions and 7 deletions
|
|
@ -1,7 +1,8 @@
|
|||
import struct
|
||||
|
||||
import board
|
||||
import canio
|
||||
import digitalio
|
||||
import struct
|
||||
|
||||
# If the CAN transceiver has a standby pin, bring it out of standby mode
|
||||
if hasattr(board, 'CAN_STANDBY'):
|
||||
|
|
@ -44,4 +45,3 @@ while True:
|
|||
|
||||
print("Sending ACK")
|
||||
can.send(canio.Message(id=0x409, data=struct.pack("<I", count)))
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
import struct
|
||||
|
||||
import board
|
||||
import canio
|
||||
import digitalio
|
||||
import struct
|
||||
|
||||
# If the CAN transceiver has a standby pin, bring it out of standby mode
|
||||
if hasattr(board, 'CAN_STANDBY'):
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
import struct
|
||||
import time
|
||||
|
||||
import board
|
||||
import canio
|
||||
import digitalio
|
||||
import struct
|
||||
import time
|
||||
|
||||
# If the CAN transceiver has a standby pin, bring it out of standby mode
|
||||
if hasattr(board, 'CAN_STANDBY'):
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
import struct
|
||||
import time
|
||||
|
||||
import board
|
||||
import canio
|
||||
import digitalio
|
||||
import struct
|
||||
import time
|
||||
|
||||
# If the CAN transceiver has a standby pin, bring it out of standby mode
|
||||
if hasattr(board, 'CAN_STANDBY'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue