Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
6a7d9822
Commit
6a7d9822
authored
6 years ago
by
David Sidrane
Committed by
Lorenz Meier
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
tap_common rcS:Use tune_control & clean up
parent
b9a54cb4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ROMFS/tap_common/init.d/rcS
+15
-9
15 additions, 9 deletions
ROMFS/tap_common/init.d/rcS
with
15 additions
and
9 deletions
ROMFS/tap_common/init.d/rcS
+
15
−
9
View file @
6a7d9822
...
...
@@ -18,10 +18,21 @@
#
sercon
set TUNE_ERR ML<<CP4CP4CP4CP4CP4
set LOG_FILE /fs/microsd/bootlog.txt
set DATAMAN_OPT -r
#
# Start the ORB (first app to start)
# tone_alarm and tune_control
# is dependent.
#
uorb start
#
# Start the tone_alarm driver.
#
tone_alarm start
#
# Try to mount the microSD card.
#
...
...
@@ -38,7 +49,7 @@ else
unset DATAMAN_OPT
else
echo "ERROR [init] Format failed"
t
o
ne_
alarm MNBG
t
u
ne_
control play -t 17
set LOG_FILE /dev/null
fi
else
...
...
@@ -46,11 +57,6 @@ else
fi
fi
#
# Start the ORB (first app to start)
#
uorb start
#
# Load parameters
#
...
...
@@ -66,8 +72,6 @@ then
param reset
fi
tone_alarm start
#
# Start system state indicator
#
...
...
@@ -356,6 +360,8 @@ fi
# There is no further script processing, so we can free some RAM
# XXX potentially unset all script variables.
unset TUNE_ERR
unset LOG_FILE
unset DATAMAN_OPT
# Boot is complete, inform MAVLink app(s) that the system is now fully up and running
mavlink boot_complete
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment