mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
itg3200: fixed calibration off by one
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
a9548f3ff4
commit
2695ef3361
@ -86,7 +86,7 @@ Itg3200::calibrate(void)
|
||||
for(int i = 0; i < reads; i++){
|
||||
|
||||
Itg3200::update();
|
||||
if (i > skip){
|
||||
if (i >= skip){
|
||||
for (int j = 0; j < 3; j++){
|
||||
temp[j] += m_rotation[j];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user