mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2025-12-10 14:32:09 -06:00
AP_HAL: hwdef.py: remove unused variable initialisation
this is introduced and initialised further down in the method where it is used
This commit is contained in:
parent
ad51931148
commit
5f342eea57
@ -579,12 +579,8 @@ class HWDef:
|
||||
driver = baro.driver
|
||||
probe = baro.probe
|
||||
|
||||
args = ['*this']
|
||||
|
||||
n = len(devlist)+1
|
||||
|
||||
args = []
|
||||
|
||||
if driver == "DPS280":
|
||||
# special handling for DPS280; use a probe method of
|
||||
# the correct signature to pass into probe_spi_dev:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user