Turn off some warnings
This commit is contained in:
parent
cde2192986
commit
c99e8a01ac
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ lidar = RPLidar(PORT_NAME)
|
|||
# used to scale data to fit on the screen
|
||||
max_distance = 0
|
||||
|
||||
#pylint: disable=redefined-outer-name,global-statement
|
||||
def process_data(data):
|
||||
global max_distance
|
||||
lcd.fill((0,0,0))
|
||||
|
|
|
|||
Loading…
Reference in a new issue