mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 00:30:50 +08:00
Add 'show' and 'test' verbs to the boardinfo command. Teach rcS how to use the new version.
This commit is contained in:
1 parent
7203ba797e
commit
0616d58340
4 files changed
+159
-16
No files matched your search
+2
-2
@@ -83,7 +83,7 @@ else
|
||||
#
|
||||
# Are we attached to a PX4IOAR (AR.Drone carrier board)?
|
||||
#
|
||||
if boardinfo -t 7
|
||||
if boardinfo test name PX4IOAR
|
||||
then
|
||||
set BOARD PX4IOAR
|
||||
if [ -f /etc/init.d/rc.PX4IOAR ]
|
||||
@@ -99,7 +99,7 @@ else
|
||||
#
|
||||
# Are we attached to a PX4IO?
|
||||
#
|
||||
if boardinfo -t 6
|
||||
if boardinfo test name PX4IO
|
||||
then
|
||||
set BOARD PX4IO
|
||||
if [ -f /etc/init.d/rc.PX4IO ]
|
||||
|
||||
Reference in new issue
Block a user