tdot00c / ardupirates

Automatically exported from code.google.com/p/ardupirates
0 stars 0 forks source link

Compass activated & CLI compass offset initialize #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Activated compass
2. enter CLI compass offset
3. hangs

Expected output: x,y,z offset stream
Instead: nothing

ArduPiratesNG

CLI.pde   v2.01
---current------------------------------------
            case 'c':
        CALIB_CompassOffset();
        break;
---improved-----------------------------------
            case 'c':
        if(MAGNETOMETER == 1) {
          Flip_MAG();
          CALIB_CompassOffset();
          Flip_MAG();
        } else CALIB_CompassOffset();
        break;
----------------------------------------------

Original issue reported on code.google.com by iso...@gmail.com on 20 Feb 2011 at 2:16

GoogleCodeExporter commented 9 years ago
Thx for bringing it up here, iso!

Original comment by kinderkram@gmail.com on 20 Feb 2011 at 4:45