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:
Peter Barker 2025-11-21 18:58:57 +11:00 committed by Thomas Watson
parent ad51931148
commit 5f342eea57

View File

@ -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: