boards px4/raspberrypi: fix upload AUTOPILOT_HOST

This commit is contained in:
SalimTerryLi 2020-01-09 22:51:47 +08:00 committed by Daniel Agar
parent 32a4e3a942
commit faec9fe579

View File

@ -31,7 +31,7 @@
#
############################################################################
if($ENV{AUTOPILOT_HOST})
if(DEFINED ENV{AUTOPILOT_HOST})
set(AUTOPILOT_HOST $ENV{AUTOPILOT_HOST})
else()
set(AUTOPILOT_HOST "raspberrypi")