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
b719033d
Commit
b719033d
authored
6 years ago
by
Lorenz Meier
Committed by
Daniel Agar
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
MK BL CTRL: Fix startup routine to be compliant with signature.
parent
652c9dfc
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
src/drivers/mkblctrl/mkblctrl.cpp
+6
-6
6 additions, 6 deletions
src/drivers/mkblctrl/mkblctrl.cpp
with
6 additions
and
6 deletions
src/drivers/mkblctrl/mkblctrl.cpp
+
6
−
6
View file @
b719033d
...
...
@@ -177,8 +177,8 @@ private:
actuator_controls_s
_controls
;
MotorData_t
Motor
[
MAX_MOTORS
];
static
void
task_main_trampoline
(
int
argc
,
char
*
argv
[]);
void
task_main
();
static
int
task_main_trampoline
(
int
argc
,
char
*
argv
[]);
int
task_main
();
static
int
control_callback
(
uintptr_t
handle
,
uint8_t
control_group
,
...
...
@@ -319,10 +319,10 @@ MK::init(unsigned motors)
return
OK
;
}
void
int
MK
::
task_main_trampoline
(
int
argc
,
char
*
argv
[])
{
g_mk
->
task_main
();
return
g_mk
->
task_main
();
}
void
...
...
@@ -458,7 +458,7 @@ MK::play_beep(int count)
}
void
int
MK
::
task_main
()
{
int32_t
param_mkblctrl_test
=
0
;
...
...
@@ -664,7 +664,7 @@ MK::task_main()
/* tell the dtor that we are exiting */
_task
=
-
1
;
_exit
(
0
)
;
return
0
;
}
...
...
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