OSDN Git Service

Winter cleanup: add a specific is_polling flag to the sensor structure
authorPatrick Porlan <patrick.porlan@intel.com>
Fri, 19 Dec 2014 09:29:33 +0000 (10:29 +0100)
committerPatrick Porlan <patrick.porlan@intel.com>
Fri, 19 Dec 2014 09:34:41 +0000 (10:34 +0100)
commitd6349f6f29ea8a76122ab177f4c8b8d847f21e4e
tree54c8440ec267134c5c661d2f90e03d56022305d4
parent45c968846622ba2f3467bd2a5b481f1de424ee8c
Winter cleanup: add a specific is_polling flag to the sensor structure

Add a dedicated flag telling whether a sensor is triggered or polling.
Checking for the number of channels always felt unnatural.

Change-Id: I03eab9c5bce7c63a90301cfc735afbf72fd780d6
Signed-off-by: Patrick Porlan <patrick.porlan@intel.com>
common.h
control.c
description.c
enumeration.c