Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
synersignart authored Oct 8, 2020
1 parent 28edb99 commit 058b3d4
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1508,9 +1508,11 @@ void ACC_getADC () {
((rawADC[5]<<8) | rawADC[4]) );
#endif
#if defined (MMC5883)
MAG_ORIENTATION( ((rawADC[1]<<8) | rawADC[0]) ,
((rawADC[3]<<8) | rawADC[2]) ,
((rawADC[5]<<8) | rawADC[4]) );

MAG_ORIENTATION( ((rawADC[1]<<10) | rawADC[0])/4,
((rawADC[3]<<10) | rawADC[2])/4,
((rawADC[5]<<10) | rawADC[4])/4);


#endif
#if defined (MAG3110)
Expand Down

0 comments on commit 058b3d4

Please sign in to comment.