mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
nsh scripting:source (.) cmd supported
This commit is contained in:
committed by
Daniel Agar
parent
df30f29a55
commit
185ffe9e13
@@ -11,7 +11,7 @@ set PRT {{ command.port_param_name }}
|
||||
set i {{ command.instance }}
|
||||
{% endif -%}
|
||||
# get the device & baudrate
|
||||
sh $PRT_F
|
||||
. $PRT_F
|
||||
if [ $SERIAL_DEV != none ]; then
|
||||
{% if not constrained_flash -%}
|
||||
echo "Starting {{ command.label }} on $SERIAL_DEV"
|
||||
|
||||
Reference in New Issue
Block a user