Commit ec86e02d authored by Projects's avatar Projects

compass: Disabled the calibration.

parent d74dd6b5
...@@ -135,7 +135,8 @@ void compass_main(void *params) ...@@ -135,7 +135,8 @@ void compass_main(void *params)
case BUTTON_PRESSED: case BUTTON_PRESSED:
if(evt.data.button == BUT_TR) if(evt.data.button == BUT_TR)
return; return;
if(evt.data.button == BUT_BR) {
/*if(evt.data.button == BUT_BR) {
c_min.x = 0x7fff; c_min.x = 0x7fff;
c_min.y = 0x7fff; c_min.y = 0x7fff;
c_min.z = 0x7fff; c_min.z = 0x7fff;
...@@ -150,7 +151,7 @@ void compass_main(void *params) ...@@ -150,7 +151,7 @@ void compass_main(void *params)
} }
if(evt.data.button == BUT_TL && calib==2) { if(evt.data.button == BUT_TL && calib==2) {
calib = 0; calib = 0;
} }*/
} }
} }
else { else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment