mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 20:28:37 +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})
|
set(AUTOPILOT_HOST $ENV{AUTOPILOT_HOST})
|
||||||
else()
|
else()
|
||||||
set(AUTOPILOT_HOST "raspberrypi")
|
set(AUTOPILOT_HOST "raspberrypi")
|
||||||
|
|||||||
Reference in New Issue
Block a user