Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
fwatch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
fwatch
Commits
ec86e02d
Commit
ec86e02d
authored
Oct 05, 2014
by
Projects
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compass: Disabled the calibration.
parent
d74dd6b5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
compass.c
sw/freertos/src/apps/compass.c
+3
-2
No files found.
sw/freertos/src/apps/compass.c
View file @
ec86e02d
...
...
@@ -135,7 +135,8 @@ void compass_main(void *params)
case
BUTTON_PRESSED
:
if
(
evt
.
data
.
button
==
BUT_TR
)
return
;
if
(
evt
.
data
.
button
==
BUT_BR
)
{
/*if(evt.data.button == BUT_BR) {
c_min.x = 0x7fff;
c_min.y = 0x7fff;
c_min.z = 0x7fff;
...
...
@@ -150,7 +151,7 @@ void compass_main(void *params)
}
if(evt.data.button == BUT_TL && calib==2) {
calib = 0;
}
}
*/
}
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment