updates for pylint

This commit is contained in:
Collin Cunningham 2019-11-11 13:52:56 -05:00
parent dae2cafefc
commit dba6cd7009

View file

@ -182,8 +182,9 @@ def solid():
pixels.show()
def map_value(value, in_min, in_max, out_min, out_max):
return out_min + (out_max - out_min) * ((value - in_min)
/ (in_max - in_min))
out_range = out_max - out_min
in_range = in_max - in_min
return out_min + out_range * ((value - in_min) / in_range)
def change_speed(val):
global speed