summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Norvez <norvez@chromium.org>2018-10-05 14:00:48 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2018-10-06 03:05:21 +0000
commiteb7fd092b9b6e98cb0db9ca1644382f22aca19cb (patch)
treeccbc91372a9ad9d5e4f58f47c7c9337447fe7a92
parent9e892d737c9357a75b8ed80e60ed9a33574cd124 (diff)
downloadchrome-ec-eb7fd092b9b6e98cb0db9ca1644382f22aca19cb.tar.gz
fpsensor: fixup FP_TEMPLATE_FORMAT_VERSION
Fixup CL that defines FP_TEMPLATE_FORMAT_VERSION. This is safer to fix build failures in chromeos-ec rather than cherry-picking a whole raft of CLs from master. Firmwares aren't actually built from that branch anyway, this is merely so build_packages doesn't fail. BRANCH=None BUG=b:117320089 TEST=None yet, trybot in flight. CQ-DEPEND=CL:1265740 Signed-off-by: Nicolas Norvez <norvez@chromium.org> Change-Id: I9e6d46f24d53fbd93bb8974fde53b30bb1b3214e Reviewed-on: https://chromium-review.googlesource.com/c/1265795 Reviewed-by: Benson Leung <bleung@google.com>
-rw-r--r--common/fpsensor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/fpsensor.c b/common/fpsensor.c
index f41f8013bd..cd134eede8 100644
--- a/common/fpsensor.c
+++ b/common/fpsensor.c
@@ -31,6 +31,8 @@
#define FP_MAX_FINGER_COUNT 0
#endif
+#define FP_TEMPLATE_FORMAT_VERSION 2
+
/* if no special memory regions are defined, fallback on regular SRAM */
#ifndef FP_FRAME_SECTION
#define FP_FRAME_SECTION