jf: set proper compass calibration point for vzw model
Change-Id: I4634d9cdb436efca15a3698402a87a8d2995551e
This commit is contained in:
parent
f25e91801f
commit
719c30b4b3
|
@ -2150,7 +2150,9 @@ static void ssp_get_positions(int *acc, int *mag)
|
|||
else
|
||||
*acc = MPU6500_BOTTOM_RIGHT_UPPER;
|
||||
|
||||
if (system_rev > BOARD_REV06)
|
||||
if (system_rev == BOARD_REV11)
|
||||
*mag = YAS532_TOP_RIGHT_LOWER;
|
||||
else if (system_rev > BOARD_REV06)
|
||||
*mag = YAS532_BOTTOM_RIGHT_LOWER;
|
||||
else if (system_rev > BOARD_REV03)
|
||||
*mag = YAS532_TOP_RIGHT_LOWER;
|
||||
|
|
Loading…
Reference in New Issue