capi-sensor: remove brackets for coding convention checker 31/67131/1
authorkibak.yoon <kibak.yoon@samsung.com>
Mon, 25 Apr 2016 08:56:26 +0000 (17:56 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Mon, 25 Apr 2016 08:56:26 +0000 (17:56 +0900)
Change-Id: Id6c38f04d03d27372cf963f90bf464af03e6084b
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/fusion_util.c

index 3a47828..b370cc8 100644 (file)
@@ -130,9 +130,9 @@ int getRotationMatrix(float *accel, float *geo, float *R, float *I)
        float Hy = Ez*Ax - Ex*Az;
        float Hz = Ex*Ay - Ey*Ax;
        float normH =  (float)sqrt(Hx*Hx + Hy*Hy + Hz*Hz);
-       if (normH < 0.1f) {
+       if (normH < 0.1f)
                return -1;
-       }
+
        float invH = 1.0f / normH;
        Hx *= invH;
        Hy *= invH;