OSDN Git Service

STPK-1429: Add 'order' configuration property
authorPatrick Porlan <patrick.porlan@intel.com>
Fri, 18 Jul 2014 14:00:58 +0000 (16:00 +0200)
committerAdriana Reus <adriana.reus@intel.com>
Wed, 23 Jul 2014 08:48:34 +0000 (11:48 +0300)
commit345931b294daa55f0ffdcd7332a69bdf9775a466
treeb6e1837c8807116a013e0ef82e400e0f1df465ba
parentb987cd14a0ad4e1977af15b52f3bbc3fc0c80405
STPK-1429: Add 'order' configuration property

This allows field reordering for sensors that are tilted
inside the chassis, as this appears to be the case for the
ECS Cruise 7 tablet. This field reordering is applied in
the finalization stage, thus after opt_scale has been applied.

Ex: ro.iio.accel.order = 102 would swap x and y fields for
the accelerometer. Only digits are tolerated, and we must have
as many of them as there are fields for this sensor.

Issue: STPK-1429

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