sensord: set to UINT_MAX batch count when there is no batch latency for sensor 02/75602/1
authorkibak.yoon <kibak.yoon@samsung.com>
Tue, 7 Jun 2016 05:02:41 +0000 (14:02 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Mon, 20 Jun 2016 13:31:34 +0000 (22:31 +0900)
commit8fe04eb190fda9eb38b93150f9140837d865915c
treecb7e29bb5f2909165d949fb5d39a0825898daa88
parentda9123180996923a1449f47d5a4965ca4780ffc2
sensord: set to UINT_MAX batch count when there is no batch latency for sensor

- if there is no client which uses batch latency, batch count should be set
  the default value, not 0 but max batch count. if sensord sets the
  UINT_MAX as a default value, HAL will set the proper value comparing
  between this sensor's max batch count and UINT_MAX.

Change-Id: I3aff8d24c00ca6b232d33c803b1783cb60325abb
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/server/sensor_base.cpp