Merge pull request #269 from wwylele/master
fix hid:GetGyroscopeRawToDpsCoefficient
This commit is contained in:
commit
98fa2f7983
@ -286,7 +286,7 @@ Result HIDUSER_GetGyroscopeRawToDpsCoefficient(float *coeff)
|
||||
Result ret=0;
|
||||
if(R_FAILED(ret=svcSendSyncRequest(hidHandle)))return ret;
|
||||
|
||||
*coeff = (float)cmdbuf[2];
|
||||
*coeff = *(float*)(cmdbuf+2);
|
||||
|
||||
return cmdbuf[1];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user