Updating test file for accelerometer sensor 55/28155/4
authorVibhor Gaur <vibhor.gaur@samsung.com>
Mon, 29 Sep 2014 06:52:11 +0000 (12:22 +0530)
committerVibhor Gaur <vibhor.gaur@samsung.com>
Mon, 29 Sep 2014 07:22:25 +0000 (12:52 +0530)
commit3d1f15bca4eb48b466538a7c50a324893934e291
treec2e9de66364a8d6748c11cae4cde8c02346c9aa4
parent2a91b5cfa232ee582cc582ddf920cde69cdda8b2
Updating test file for accelerometer sensor

-Adding license to accelerometer test file.
-Updating error check conditions for start and stop handle.
-Removing redundant bool error_state variablee.
-Removing redundant else condition after parameter count check.
-Removing redundant if condition assosciated with error_state.
-Updating print logs in callback by printing timestamp before other values.

Change-Id: Id1e6a4cec85c6d321dc66ab4bdda69511f7703c1
test/src/accelerometer.c