mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 06:14:14 +08:00
boards px4/raspberrypi: fix upload AUTOPILOT_HOST
This commit is contained in:
committed by
Daniel Agar
parent
32a4e3a942
commit
faec9fe579
@@ -31,7 +31,7 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
if($ENV{AUTOPILOT_HOST})
|
||||
if(DEFINED ENV{AUTOPILOT_HOST})
|
||||
set(AUTOPILOT_HOST $ENV{AUTOPILOT_HOST})
|
||||
else()
|
||||
set(AUTOPILOT_HOST "raspberrypi")
|
||||
|
||||
Reference in New Issue
Block a user