mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-08 11:51:36 +08:00
WIP: px4log
This commit is contained in:
@@ -14,7 +14,7 @@ set i {{ command.instance }}
|
||||
. $PRT_F
|
||||
if [ $SERIAL_DEV != none ]; then
|
||||
{% if not constrained_flash -%}
|
||||
echo "Starting {{ command.label }} on $SERIAL_DEV"
|
||||
px4log "Starting {{ command.label }} on $SERIAL_DEV"
|
||||
{% endif -%}
|
||||
{{ command.command }}
|
||||
fi
|
||||
|
||||
@@ -11,7 +11,7 @@ if param compare "$PRT" {{ serial_device.index }}; then
|
||||
set PRT_{{ serial_device.tag }}_ 1
|
||||
{% if not constrained_flash -%}
|
||||
else
|
||||
echo "Conflicting config for {{ serial_device.device }}"
|
||||
px4log "Conflicting config for {{ serial_device.device }}"
|
||||
{% endif -%}
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user