mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00: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