mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
boards px4/raspberrypi: fix upload AUTOPILOT_HOST
This commit is contained in:
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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user